Re: isset() and !=NULL

From: Date: Fri, 26 Mar 2004 18:46:58 +0000
Subject: Re: isset() and !=NULL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181575@lists.php.net to get a copy of this message
if(!empty($variable)) On Fri, 26 Mar 2004, Marcjon Louwersheimer wrote: > Is there an easier way to do > isset($variable) AND $variable != NULL > ? I use this alot in my if statements, and I was wondering if there's an > easier way to do it, maybe with a single function? Oh and another > question... how does if ($variable) work? When does it evaluate true? > -- > Marcjon > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#181575) next »