Re: Console/Getopt.php workaround

From: Date: Wed, 11 Dec 2002 23:29:50 +0000
Subject: Re: Console/Getopt.php workaround
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11573@lists.php.net to get a copy of this message
nope. isset is always false, empty is always true. like i said, probably that will get fixed, so the value of working around it now is questionable... On Wed, 11 Dec 2002, Jan Schneider wrote: > What about "!empty()"? Does that work? > > Zitat von Brad Bulger <tater@potatoe.com>: > > > > > dunno if you'll really want to apply this or not, since i'm pretty sure > > the problem is a bug - in ZE2, isset($string{$offset}) always returns > > false. the last time i submitted a fix for some odd ZE2 behavior, they > > ended up taking it out altogether... (the class/global function > > scope thing)

« previous php.pear.dev (#11573) next »