Re: suggestion: empty() with infinite parameters like isset()

From: Date: Wed, 20 Oct 2004 11:07:58 +0000
Subject: Re: suggestion: empty() with infinite parameters like isset()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-13413@lists.php.net to get a copy of this message
On Wed, 20 Oct 2004, Ron Korving wrote: > I think it would be a good idea to apply the idea of infinite parameters > that's been used with isset(), so one can test multiple variables: > > if (empty($var1, $var2, $var3)) echo "data missing"; We discussed this before and we didn't want to agree if it should behave like "each one should be empty" or "all should be empty". So we will not add it. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org

« previous php.internals (#13413) next »