Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22798 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57781 invoked by uid 1010); 16 Apr 2006 21:41:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57766 invoked from network); 16 Apr 2006 21:41:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Apr 2006 21:41:34 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:41497] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id EC/22-19715-D0AB2444 for ; Sun, 16 Apr 2006 17:41:34 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.6/8.12.11) with ESMTP id k3GLfTrk021046; Sun, 16 Apr 2006 23:41:29 +0200 Date: Sun, 16 Apr 2006 23:40:32 +0200 (CEST) X-X-Sender: derick@localhost To: itrebal@gmail.com cc: internals@lists.php.net In-Reply-To: <2e24b1e00604150752g69acab4er1058771d9e60a352@mail.gmail.com> Message-ID: References: <2e24b1e00604150752g69acab4er1058771d9e60a352@mail.gmail.com> X-Face: "L'&?Ah3MYF@FB4hU'XhNhLB]222(Lbr2Y@F:GE[OO;"F5p>qtFBl|yVVA&D{A(g3[C}mG:199P+5C'v.M/u@Z\![0b:Mv.[l6[uWl' MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Inconsistency of empty() and isset() ? From: derick@php.net (Derick Rethans) 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