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

From: Date: Wed, 16 Aug 2000 12:14:32 +0000
Subject: RE: PHP 4.0 Bug #6193 Updated: new object makes a shallow copy
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-29118@lists.php.net to get a copy of this message
I'm not sure how to reply - I try: This last case with the reg() function works if you change - $register_object= $myobj->reg(); + $register_object= &$myobj->reg(); Ok, we need to specify twice treat instance as refence not value!

« previous php.dev (#29118) next »