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

From: Date: Sun, 16 Jul 2000 17:21:07 +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-24681@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 I made another example of what I think is a problem: <?php class A { var $Bref=0; } class B { var $Aref=0; } $oa=new A; $ob=new B; $oa->Bref=&$ob; $ob->Aref=&$oa; ?> ./zend_execute.c(392) : Freeing 0x093D0C04 (12 bytes), script=/var/www/users/test8/www/classleak3a.php Last leak repeated 1 time zend_hash.c(271) : Freeing 0x093D10D4 (40 bytes), script=/var/www/users/test8/www/classleak3a.php Last leak repeated 1 time zend_hash.c(200) : Freeing 0x0970C79C (20 bytes), script=/var/www/users/test8/www/classleak3a.php Last leak repeated 1 time ./zend_execute.c(1895) : Freeing 0x097135E4 (48 bytes), script=/var/www/users/test8/www/classleak3a.php zend_API.c(208) : Actual location (location was relayed) Last leak repeated 1 time Full Bug description available at: http://bugs.php.net/?id=5620

« previous php.dev (#24681) next »