#37114 [Opn->Bgs]: memleak in explode
| From: | iliaa@php.net | Date: | Mon, 17 Apr 2006 22:56:05 +0000 |
| Subject: | #37114 [Opn->Bgs]: memleak in explode | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-95905@lists.php.net to get a copy of this message | ||
ID: 37114
Updated by: iliaa@php.net
Reported By: virtuall at virtuall dot info
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Linux, Freebsd
PHP Version: 5.1.2
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Memory gets freed at the end the script.
Previous Comments:
------------------------------------------------------------------------
[2006-04-17 21:23:39] virtuall at virtuall dot info
Description:
------------
It's a strange that nobody has noticed a memleak in such an essential
function. This needs no comments, does it?
Reproduce code:
---------------
<?php
echo memory_get_usage() . "\n";
explode(' ', 'blah foo bar');
echo memory_get_usage() . "\n";
?>
Expected result:
----------------
40824
40824
Actual result:
--------------
40824
41120
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37114&edit=1