PHP 4.0 Bug #5620 Updated: Memory leaks with classes and references to objects

From: Date: Mon, 17 Jul 2000 13:16:36 +0000
Subject: PHP 4.0 Bug #5620 Updated: Memory leaks with classes and references to objects
Groups: php.dev 
Request: Send a blank email to php-dev+get-24743@lists.php.net to get a copy of this message
ID: 5620 User Update by: h.raaf@i-k-c.net Status: Suspended Bug Type: Scripting Engine problem Description: Memory leaks with classes and references to objects Sorry, maybe I am just stupid... :( I really don't want to bother you... please excuse me! I just don't understand where the 'circular reference' is in respect to my last example code and why the code works even if it uses something that is not supported by php4: class A { var $Bref=0; } class B { var $Aref=0; } $oa=new A; $ob=new B; $oa->Bref=&$ob; $ob->Aref=&$oa; Would you be please so kind and explain it to me (or give me some reference to look it up by myself) Full Bug description available at: http://bugs.php.net/?id=5620

« previous php.dev (#24743) next »