Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13422 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27682 invoked by uid 1010); 20 Oct 2004 22:40:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27588 invoked from network); 20 Oct 2004 22:40:22 -0000 Received: from unknown (HELO dbmail-mx3.orcon.net.nz) (219.88.242.3) by pb1.pair.com with SMTP; 20 Oct 2004 22:40:22 -0000 Received: from galaxy (port-222-152-50-62.fastadsl.net.nz [222.152.50.62]) (authenticated bits=0) by dbmail-mx3.orcon.net.nz (8.13.1/8.13.1/Debian-14) with ESMTP id i9KMeHjs020060; Thu, 21 Oct 2004 11:40:22 +1300 Message-ID: <008c01c4b6f6$4fd9a450$0a00a8c0@home.jevon.org> To: "Ron Korving" , References: <20041020110454.29582.qmail@pb1.pair.com> <20041020111321.56801.qmail@pb1.pair.com> <20041020112139.91563.qmail@pb1.pair.com> Date: Thu, 21 Oct 2004 11:44:03 +1300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Received-SPF: pass (dbmail-mx3.orcon.net.nz: authenticated connection) receiver=dbmail-mx3.orcon.net.nz; client-ip=222.152.50.62; helo=galaxy; envelope-from=jevon@jevon.org; x-software=spfmilter 0.93 http://www.acme.com/software/spfmilter/; X-Virus-Scanned: clamd / ClamAV version 0.75-1, clamav-milter version 0.75c on dbmail-mx3 X-Virus-Status: Clean Subject: Re: [PHP-DEV] suggestion: empty() with infinite parameters like isset() From: jevon@jevon.org ("Jevon Wright") How about anyempty($var1, $var2, $var3, ...) ? Jevon ----- Original Message ----- From: "Ron Korving" To: Sent: Thursday, October 21, 2004 12:21 AM Subject: Re: [PHP-DEV] suggestion: empty() with infinite parameters like isset() > Maybe it was a bad example. Writing "data missing" I was thinking that at > least one variable should be set. > > Ron > > "Derick Rethans" schreef in bericht > news:Pine.LNX.4.58.0410201315360.1991@localhost... > > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >