Re: reference issue

From: Date: Thu, 17 Mar 2005 18:36:00 +0000
Subject: Re: reference issue
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-15478@lists.php.net to get a copy of this message
On 2005/03/17, at 21:52, Lukas Smith wrote:
Derick Rethans wrote:
On Thu, 17 Mar 2005, Moriyoshi Koizumi wrote:
That's expected behaviour. Have a look at http://bugs.php.net/20993 .
Sorry, but this is not expected - it's a bug.
I would also like to disagree. I think this is a huge inconsistency that should be addressed even if that costs performance.
I agree that it's not intuitive at all, though this issue was discussed ending up with the following words. http://marc.theaimsgroup.com/?l=php-dev&m=104018832405963&w=2
If however the core php developers do think this behavior should stick, then there should be a function that allows people to clean these references without such hacks (even if internally these hacks are still going on).
I think it's possible to add such a function to the 5.x branches. Moriyoshi

« previous php.internals (#15478) next »