Re: PEAR.php

From: Date: Wed, 17 Aug 2005 15:48:14 +0000
Subject: Re: PEAR.php
References: 1  Groups: php.pear.core 
Request: Send a blank email to pear-core+get-3607@lists.php.net to get a copy of this message
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? Greg

« previous php.pear.core (#3607) next »