Re: Newbie question about good coding practice [isset]

From: Date: Sat, 05 Jun 2004 20:13:32 +0000
Subject: Re: Newbie question about good coding practice [isset]
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-187708@lists.php.net to get a copy of this message
* Thus wrote K.Bogac Bokeer (bbokeer@yahoo.com): > When $var is 0? > > <? > $var = 0; or $var = ''; $var = array(); $var = false; > > // Output: $var: $var not exists > if ( $var ) > echo '$var: $var exists<br>'; > else Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#187708) next »