Re: new leak + still probs with return values...

From: Date: Wed, 22 Dec 1999 18:57:01 +0000
Subject: Re: new leak + still probs with return values...
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8393@lists.php.net to get a copy of this message
On Wed, 22 Dec 1999 zeev@zend.com wrote: > function_exists() wasn't properly implemented... It has nothing to do with > any engine bugs. weird that it used to work... what happened? > > Zeev > > On Wed, 22 Dec 1999, Thies C. Arntzen wrote: > > > script: > > <? > > var_dump(function_exists("hallo")); > > ?> > > > > current cvs prints: > > bool(true) > > > > older&correct version says: > > bool(false) > > > > > > On Wed, 22 Dec 1999 zeev@zend.com wrote: > > > > > On Wed, 22 Dec 1999, Thies C. Arntzen wrote: > > > > > > > error_log > > > > ../../php4/Zend/zend_execute.c(1978) : Freeing 0x006986D8 (16 bytes), > > > > script=/dot/dgs/tim/dclsite/home/space.php3 > > > > > > > > the following script doe not create that leak but shows that something is > > > > seriously wrong... > > > > > > > > <? > > > > if (! function_exists("dcinclude")) > > > > echo "(! function_exists\n"; > > > > else > > > > echo "else\n"; > > > > ?> > > > > > > > > prints "else"... (scary) > > > > > > Hrm, why is it scary? Without any further information, 'else' is exactly > > > what this script should print...? > > > > > > Zeev > > > > > > > > > > > > Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" > > Digital Collections Phone +49 40 235350 Fax +49 40 23535180 > > Hammerbrookstr. 93 20097 Hamburg / Germany > > > > Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#8393) next »