|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-06-26 14:03 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 15:00:01 2025 UTC |
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 ===