[PHP-DEV] PHP 4.0 Bug #2158: Memory leak with global statement From: christophe.massiot <email protected>
Date: 08/26/99

From: christophe.massiot <email protected>
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>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>