Re: Inconsistency of empty() and isset() ?

From: Date: Sun, 16 Apr 2006 21:40:32 +0000
Subject: Re: Inconsistency of empty() and isset() ?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-22798@lists.php.net to get a copy of this message
On Sat, 15 Apr 2006 itrebal@gmail.com wrote: > 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? There is a thought about it, and that is that we could not decide whether it should be an AND or an OR test between the different parameters. Derick

« previous php.internals (#22798) next »