Re: RE: PHP 4.0 Bug #6193 Updated: new object makes a shallow copy

From: Date: Fri, 18 Aug 2000 21:39:06 +0000
Subject: Re: RE: PHP 4.0 Bug #6193 Updated: new object makes a shallow copy
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-29549@lists.php.net to get a copy of this message
At 11:31 PM 8/18/00 +0200, André Langhorst wrote:
You should think of "$a =& $b;" as "make the symbol table entry $a reference the same PHP value bucket as $b. If the $a symbol table entry was in use before it just changes it to point at the same PHP value bucket as $b. It is a symbol table re-assign.
As stated before I´m aware of the problem, OTOH I see how a php-dev expects it to be... couldn´t you invent a kind of biometric identification or quantum signature? ;)
Nope :) Let's just not call it references and call it aliasing :) Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#29549) next »