Re: return /* by reference */ new Foo() in PHP4

From: Date: Mon, 10 Oct 2005 12:21:27 +0000
Subject: Re: return /* by reference */ new Foo() in PHP4
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-19548@lists.php.net to get a copy of this message
On Sat, 8 Oct 2005, Matthias Pigulla wrote: > The point is that this requires really unlogic and silly workarounds > like 'return $tmp =& new Foo()'. That forces people to touch stable > codebases; I find it comprehensible that they feel this is like passing > the engine internal problems to the php coders. I discussed this with Dmitry today and we agree that although this is strange, we will not do any modifications here as PHP 4.4. is stable and we don't want to risk breaking things. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org

« previous php.internals (#19548) next »