|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-08-10 14:03 UTC] laruence@php.net
-Status: Open
+Status: Suspended
[2015-08-10 14:03 UTC] laruence@php.net
[2016-06-07 11:12 UTC] dmitry@php.net
-Status: Suspended
+Status: Assigned
-Assigned To:
+Assigned To: dmitry
[2016-06-07 21:23 UTC] dmitry@php.net
[2016-06-07 21:23 UTC] dmitry@php.net
-Status: Assigned
+Status: Closed
[2016-06-22 05:58 UTC] krakjoe@php.net
[2016-07-20 11:30 UTC] davey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 04:00:02 2025 UTC |
Description: ------------ see test script. Test script: --------------- <?php function foo() { try { return chr(0) . "bar"; } finally { return chr(32) . "bad"; } } var_dump(foo()); ?> Expected result: ---------------- none memleak Actual result: -------------- $ sapi/cli/php /tmp/1.php string(4) " bad" [Mon Aug 10 21:21:03 2015] Script: '/tmp/1.php' /home/huixinchen/opensource/trunk/Zend/zend_string.h(121) : Freeing 0x7F1086059CC0 (32 bytes), script=/tmp/1.php === Total 1 memory leaks detected ===