ID:               37891
 Updated by:       [EMAIL PROTECTED]
 Reported By:      hannes dot magnusson at gmail dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         Scripting Engine problem
 Operating System: FreeBSD
 PHP Version:      5CVS-2006-06-22 (CVS)
-Assigned To:      
+Assigned To:      dmitry


Previous Comments:
------------------------------------------------------------------------

[2006-06-22 18:20:03] hannes dot magnusson at gmail dot com

Description:
------------
Can't seem to get the example any shorter...

Reproduce code:
---------------
<?php
class foo {
    public $arr = array();
    function foo(){
        $this->backtrace = debug_backtrace();
        call_user_func(array($this, "bar"));
    }
    function bar() {
        array_unshift($this->arr, debug_backtrace());
    }
}

$foo = &new foo;
?>


Actual result:
--------------
/usr/src/clean/php5/Zend/zend_execute.c(403) :  Freeing 
0x082F48E4 (16 bytes), script=/usr/local/php5/....
=== Total 1 memory leaks detected ===



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37891&edit=1

Reply via email to