Re: Only variables or references can be returned by reference
| From: | Andi Gutmans | Date: | Sun, 11 Jan 2004 19:06:59 +0000 |
| Subject: | Re: Only variables or references can be returned by reference | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-6977@lists.php.net to get a copy of this message | ||
We very much hope we fixed it :)
Be sure to try your script in E_STRICT mode so that it can shout at you being a bad boy. You should really only return real references/variables by reference. Although it might not shout because we actually also fixed a bug :)
Confusing??? So was the bug...
Anyway, please try and remove your PHP 5 compatibility hacks and let us know how you're doing.
Thanks,
Andi
At 07:36 PM 1/11/2004 +0100, Lukas Smith wrote:
Hi, I just want to make sure this is in fact true: http://bugs.php.net/bug.php?id=24687 So does this mean we can all remove our php5 compatibility hacks that relate to the above bug report? I would hate to have to reapply all of those ugly php5 compatibility hacks I had to add after removing then now that the bug appears to be fixed. Regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php