Re: php 4.1

From: Date: Tue, 14 Nov 2000 14:57:30 +0000
Subject: Re: php 4.1
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-38072@lists.php.net to get a copy of this message
At 14:39 14-11-00, André Langhorst wrote:
just to name such an issue regarding the CORE language: I thought returing variables by references originating from methods is supported and ought to work, because it worked for me all the time and nothing negative is said in the documentation (you could argue that it isn't documented at all, what would criticize the documentation ([1] either it should tell us not to do this or [2] it should tell us that it's possible in unawareness of possible failures) now zeev told me that it never should have worked properly at all, thus PHP has been UNSTABLE for many months
For the record, that's not what I said. Return references from methods is supported, just as returning reference from functions is supported. However, you can't pass function return values by reference - you can only pass variables by reference. Zeev -- Zeev Suraski <zeev@zend.com> CTO, Zend Technologies Ltd. http://www.zend.com/

« previous php.dev (#38072) next »