Re: [PHP4BETA] leak

From: Date: Sat, 18 Sep 1999 23:36:42 +0000
Subject: Re: [PHP4BETA] leak
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-4623@lists.php.net to get a copy of this message
Update libzend. I have hopefully fixed this problem. Andi At 02:33 PM 9/17/99 -0400, Rasmus Lerdorf wrote:
This script:
    $a = "123";
    $a[1] = array(4,5,6);
    echo $a;
produces: zend_hash.c(396) : Freeing 0x08103F38 (4 bytes), script=e Last leak repeated 2 times zend_hash.c(385) : Freeing 0x08103EE0 (35 bytes), script=e Last leak repeated 2 times zend_hash.c(100) : Freeing 0x08103D78 (20 bytes), script=e zend_API.c(192) : Freeing 0x08103D18 (44 bytes), script=e 1A3 An obviously funky script, and 1A3 as the output is presumably because of the 'A' in "Array". But it is consistent with the output from PHP 3, so that's good. -Rasmus -- PHP 4 Beta
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.version4 (#4623) next »