suggestion: empty() with infinite parameters like isset()
| From: | Ron Korving | Date: | Wed, 20 Oct 2004 11:04:58 +0000 |
| Subject: | suggestion: empty() with infinite parameters like isset() | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-13412@lists.php.net to get a copy of this message | ||
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";
I hope someone will agree with me and add this feature.
Thanks,
Ron