Re: Problem with passing function return values by reference

From: Date: Fri, 17 Nov 2000 15:56:17 +0000
Subject: Re: Problem with passing function return values by reference
References: 1 2  Groups: php.dev php.qa 
Request: Send a blank email to php-dev+get-38417@lists.php.net to get a copy of this message
At 09:53 AM 11/17/00 -0600, Andrei Zmievski wrote:
On Fri, 17 Nov 2000, Andi Gutmans wrote: Hi, In the 4.0.4-dev tree we added a check not to allow non-variables to be sent by reference. It seems to have broken some people's scripts. Can you please let us know if you're one of them and possibly a very short (very short :) reproducing script? I also have a trial patch ready but it still isn't a closed issue as to what is the best way to handle it. Any feedback we can get from you guys would give us enough information to think of what to do. One of the things that broke is PHPDoc. It uses constructs like $foo->bar($baz->zoo()).
And what does $baz->zoo() look like? Does it return a reference? Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#38417) next »