Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22792 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70044 invoked by uid 1010); 15 Apr 2006 14:52:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70029 invoked from network); 15 Apr 2006 14:52:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2006 14:52:08 -0000 X-Host-Fingerprint: 66.249.82.202 xproxy.gmail.com Linux 2.4/2.6 Received: from ([66.249.82.202:16053] helo=xproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 5B/02-19715-89801444 for ; Sat, 15 Apr 2006 10:52:08 -0400 Received: by xproxy.gmail.com with SMTP id t14so184467wxc for ; Sat, 15 Apr 2006 07:52:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=PH4lA6snZE/UeWlZ1cSZ4cCx7gpAbGNFg8BvbEZex6/3H9baMhxhrLOIZrjFX0QIn7GpgZrdgwWyOrCpOdguYA2Zd101iTMAn/u85zsgu0xrJkr/lCKnoIDQPg4YqfoGnC6RgYTcbiq4Djtei95ddNE9HzwAveX5ULwS9YD0J+0= Received: by 10.70.18.18 with SMTP id 18mr324347wxr; Sat, 15 Apr 2006 07:52:05 -0700 (PDT) Received: by 10.70.12.3 with HTTP; Sat, 15 Apr 2006 07:52:05 -0700 (PDT) Message-ID: <2e24b1e00604150752g69acab4er1058771d9e60a352@mail.gmail.com> Date: Sat, 15 Apr 2006 10:52:05 -0400 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_793_13635849.1145112725799" Subject: Inconsistency of empty() and isset() ? From: itrebal@gmail.com ------=_Part_793_13635849.1145112725799 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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? ------=_Part_793_13635849.1145112725799--