On Sun, Jan 11, 2004 at 07:36:53PM +0100, Lukas Smith wrote:
>
> So does this mean we can all remove our php5 compatibility hacks that relate
> to the above bug report?
I don't think that's wise. Even though PHP 5 now won't complain about it,
PHP 4 had problems with returning by reference on non variables even
though it didn't produce any warnings.
Let alone, only returning a variable when returning by reference is the
right thing to do. Just because you can get away with not doing it
doesn't make it right.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php