ID:               36847
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: fc3
 PHP Version:      5CVS-2006-03-24 (snap)
 New Comment:

Duplicate of bug #33487.


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

[2006-03-24 16:56:03] [EMAIL PROTECTED]

Description:
------------
It was originated by http://pear.php.net/bugs/bug.php?id=6788


Reproduce code:
---------------
<?php
class test
{
    var $backtrace            = null;
    function test()
    {
        $this->backtrace = debug_backtrace();
    }
}
set_time_limit(0);
for($i = 0; $i <= 10000; $i++) {
    $ret = &new test();
    unset($ret);
} 
?>

Expected result:
----------------
nothing

Actual result:
--------------
memory exhausted


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


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

Reply via email to