note 34961 deleted from function.empty by vincent

From: Date: Wed, 13 Aug 2003 12:06:53 +0000
Subject: note 34961 deleted from function.empty by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-54076@lists.php.net to get a copy of this message
Note Submitter: ---- The best use of empty for me is this: if($Var != "" && $Var != 0){} So for me it is easier saying: if(!empty($Var)){}

« previous php.notes (#54076) next »