PHP 4.0 Bug #2158: Memory leak with global statement
| From: | christophe dot massiot at mail dot dotcom dot fr | Date: | Thu, 26 Aug 1999 06:34:21 +0000 |
| Subject: | PHP 4.0 Bug #2158: Memory leak with global statement | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10208@lists.php.net to get a copy of this message | ||
From: christophe.massiot@mail.dotcom.fr
Operating system: LinuxPPC R5/Linux 2.2.10
PHP version: 4.0 Latest CVS (26/08/1999)
PHP Bug Type: Scripting Engine problem
Bug description: Memory leak with global statement
The following script :
<?
global $toto;
$foobar = "coin";
?>
produces :
8:31 [webase3:pts/6] salome:~% php html/test.php
Content-Type: text/html
html/test.php: Freeing 0x018FE1E8 (5 bytes), allocated in zend_variables.c on line 120<br>