Re: [PHP4BETA] Zend leak

From: Date: Tue, 18 Jan 2000 22:25:43 +0000
Subject: Re: [PHP4BETA] Zend leak
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-9271@lists.php.net to get a copy of this message
Should be fixed At 19:33 18/01/2000 , Andrei Zmievski wrote:
The following script: $conf = array(); $config_files = array("123.conf"); foreach ($config_files as $config_file) {
    $id = substr(0, strrpos($config_file, ".conf"));
    $conf[$id] = $CONF["VnewsConfigsDir"]."/".$config_file;
} produces: PHP Warning: Illegal offset type in leaktest.php on line 8 zend_operators.c(892) : Freeing 0x001E1A18 (10 bytes), script=leaktest.php -Andrei "Claiming Java is easier than C++ is like saying that K2 is shorter than Everest." -- Larry O'Brien (editor, Software Development) -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net
-- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.version4 (#9271) next »