Bug #67858 [NEW]: Leak when $php_errormsg already set
| From: | nikic@php.net | Date: | Mon, 18 Aug 2014 16:10:14 +0000 |
| Subject: | Bug #67858 [NEW]: Leak when $php_errormsg already set | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-187166@lists.php.net to get a copy of this message | ||
From: nikic
Operating system:
PHP version: master-Git-2014-08-18 (Git)
Package: Scripting Engine problem
Bug Type: Bug
Bug description:Leak when $php_errormsg already set
Description:
------------
<?php ini_set('track_errors', 1); error_reporting(E_ALL);
function f() {
$php_errormsg = [1, 2, 3];
echo $var;
var_dump($php_errormsg);
}
f();
Leaks the array
--
Edit bug report at https://bugs.php.net/bug.php?id=67858&edit=1
--