Re: PEAR.php
| From: | Pierre-Alain Joye | Date: | Wed, 17 Aug 2005 17:32:40 +0000 |
| Subject: | Re: PEAR.php | ||
| References: | 1 2 | Groups: | php.pear.core |
| Request: | Send a blank email to pear-core+get-3613@lists.php.net to get a copy of this message | ||
On Wed, 17 Aug 2005 10:48:14 -0500
greg@chiaraquartet.net (Greg Beaver) wrote:
> Lukas Smith wrote:
>
> > Hi,
> >
> > I was just slapped by PHP 4.4 for assigning the return value of
> > PEAR::raiseError() by reference. This is due to the fact that
> > PEAR::raiseError() is not defined to return by reference.
> >
> > I kinda got used to assigning any object by reference and IIRC
> > we generally recommend to do so in the PEAR manual. I do not
> > think it really matters all that much for PEAR_Error instances.
> >
> > Is it worthwhile fixing this in the next release? Are there any
> > BC implications we need to worry about?
>
> do you mean using function &raiseError()? I don't see any BC
> problems with this.
>
> Any other input?
Neihter me, I do not see any BC issue.
--Pierre