The problem is that there where bugs in the past when returning by reference not variables, which could cause memory corruptions. This is why we didn't allow it. In order not to completely break every script in some cases we can turn a blind eye and allow it (such as return 4;) because it can be dealt with.
Anyway, as I said it's something I need to look into more detail again which I'll do soon.
Andi
At 01:39 PM 11/14/2003 -0500, Daniel Convissor wrote:
Hi Folks:
I'm sorry to be a nudge, but am surprised no one has replied to my prior post. Perhaps someone is doing some testing or research before replying? Perhaps it got overlooked? Perhaps everyone is busy and thought someone else would answer?
Regardless, it would be great if someone could reply.
Thanks,
--Dan
Message-ID: <[EMAIL PROTECTED]> Archive URI: http://marc.theaimsgroup.com/?l=php-dev&m=106866036715442
-- FREE scripts that make web and database programming easier http://www.analysisandsolutions.com/software/ 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 4015 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php