Inconsistency of empty() and isset() ?
| From: | itrebal at gmail dot com | Date: | Sat, 15 Apr 2006 14:52:05 +0000 |
| Subject: | Inconsistency of empty() and isset() ? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-22792@lists.php.net to get a copy of this message | ||
The following is a direct excerpt from the PHP manual on empty, and isset:
bool *empty* ( mixed var )
bool *isset* ( mixed var [, mixed var [, ...]] )
Is there a reason empty does not allow multiple variables at a time, as
isset? Was there thought behind it, or is it just an inconsistency?