PEAR.php
| From: | Lukas Smith | Date: | Wed, 17 Aug 2005 12:00:49 +0000 |
| Subject: | PEAR.php | ||
| Groups: | php.pear.core | ||
| Request: | Send a blank email to pear-core+get-3605@lists.php.net to get a copy of this message | ||
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?
regards,
Lukas