Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c
| From: | Moriyoshi Koizumi | Date: | Wed, 02 Jul 2003 15:43:55 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-1433@lists.php.net to get a copy of this message | ||
"Zeev Suraski" <zeev@php.net> wrote:
> zeev Wed Jul 2 11:06:11 2003 EDT
>
> Modified files:
> /ZendEngine2 zend_execute.c
> Log:
> Fix for bug #22367.
> Heads up - this will break syntactical compatiblity, return($foo) will
> not work with functions that return references - return $foo should be used
> instead. It never worked well before, and caused all sorts of odd bugs.
> It *might* be possible to support this specifically, albeit unlikely
It looks like "return @$foo;" doesn't work either. That's not a big deal
though.
Moriyoshi