ID: 34353 Updated by: [EMAIL PROTECTED] Reported By: devik at cdi dot cz -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 5.1.0RC1 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip I can not reproduce with latest CVS checkout of PHP_5_1 branch. Previous Comments: ------------------------------------------------------------------------ [2005-09-02 22:55:29] devik at cdi dot cz Description: ------------ There is missing INIT_PZVAL(return_value); at end of zif_func_get_arg thus it is leaking data. Reproduce code: --------------- <?php function f() { echo func_get_arg(0); } $a=$b=2; f($a); ?> Expected result: ---------------- 2/copy/build/php-5.1.0RC1/Zend/zend_vm_execute.h(167) : Freeing 0x08466324 (16 bytes), script=tst.php === Total 1 memory leaks detected === Actual result: -------------- 2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34353&edit=1