On 4/17/06, Lukas Smith <[EMAIL PROTECTED]> wrote:
> Derick Rethans wrote:
> > On Sat, 15 Apr 2006 [EMAIL PROTECTED] 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.
>
> well it seems to be AND for isset() .. which is probably its closest
> "sibiling" .. so the obvious call when going for consistency would be to
>   AND in empty() as well ..

Indeed, especially as everyone will tell you that isset and empty are
equivalent.

--Pierre

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to