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

From: Date: Wed, 16 Aug 2000 11:55:18 +0000
Subject: PHP 4.0 Bug #6193 Updated: new object makes a shallow copy
Groups: php.dev 
Request: Send a blank email to php-dev+get-29116@lists.php.net to get a copy of this message
ID: 6193 Updated by: waldschrott Reported By: Heinz@chanet.de Status: Analyzed Bug Type: Scripting Engine problem Assigned To: Comments: 3) possibly related, just realized that this does not work too... class CTest { var $v=9; function &reg() { return $this; } } $myobj= new CTest(); $register_object=$myobj->reg(); var_dump($register_object); Full Bug description available at: http://bugs.php.net/?id=6193

« previous php.dev (#29116) next »