Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13415 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69988 invoked by uid 1010); 20 Oct 2004 11:16:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68377 invoked from network); 20 Oct 2004 11:16:14 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 20 Oct 2004 11:16:14 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id i9KBGEIL015291 for ; Wed, 20 Oct 2004 13:16:14 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id i9KBG80A015241; Wed, 20 Oct 2004 13:16:09 +0200 Date: Wed, 20 Oct 2004 13:16:08 +0200 (CEST) X-X-Sender: derick@localhost To: Ron Korving cc: internals@lists.php.net In-Reply-To: <20041020111321.56801.qmail@pb1.pair.com> Message-ID: References: <20041020110454.29582.qmail@pb1.pair.com> <20041020111321.56801.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdimedia.nl Subject: Re: [PHP-DEV] suggestion: empty() with infinite parameters like isset() From: derick@php.net (Derick Rethans) On Wed, 20 Oct 2004, Ron Korving wrote: > Okay, I don't wanna make remarks that may have already been made earlier, > but I think it should be "all should be empty", because it works exactly the > same for isset(), and apparently, a decision was made to give isset() that > feature. Right, but then your example would already no longer have worked: if (empty($var1, $var2, $var3)) echo "data missing"; so there is no point in adding it like that. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org