Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c
| From: | Sterling Hughes | Date: | Wed, 02 Jul 2003 15:27:48 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c | ||
| References: | 1 2 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-1434@lists.php.net to get a copy of this message | ||
That's the bug Zeev fixed :)
-Sterling
On Wed, 2003-07-02 at 11:43, Moriyoshi Koizumi wrote:
> "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
--
"C makes it easy to shoot yourself in the foot; C++ makes it harder,
but when you do, it blows away your whole leg."
- Bjarne Stroustrup