Re: Problem with passing function return values by reference

From: Date: Fri, 17 Nov 2000 15:53:25 +0000
Subject: Re: Problem with passing function return values by reference
References: 1  Groups: php.dev php.qa 
Request: Send a blank email to php-dev+get-38416@lists.php.net to get a copy of this message
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()). -Andrei * We reason deeply, when we forcibly feel. *

« previous php.dev (#38416) next »