Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69191 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88115 invoked from network); 18 Sep 2013 13:50:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Sep 2013 13:50:45 -0000 Authentication-Results: pb1.pair.com header.from=sean@seancoates.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sean@seancoates.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain seancoates.com from 64.15.79.181 cause and error) X-PHP-List-Original-Sender: sean@seancoates.com X-Host-Fingerprint: 64.15.79.181 iconoclast.caedmon.net Received: from [64.15.79.181] ([64.15.79.181:52305] helo=iconoclast.caedmon.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/C9-43258-3BFA9325 for ; Wed, 18 Sep 2013 09:50:45 -0400 Received: from localhost (localhost [127.0.0.1]) by iconoclast.caedmon.net (Postfix) with ESMTP id 9EF693260E8; Wed, 18 Sep 2013 09:50:39 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at iconoclast.caedmon.net Received: from iconoclast.caedmon.net ([127.0.0.1]) by localhost (iconoclast.caedmon.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ieY2wNSMxDnc; Wed, 18 Sep 2013 09:50:32 -0400 (EDT) Received: from [10.8.0.2] (sarcasm.vpn [10.8.0.2]) by iconoclast.caedmon.net (Postfix) with ESMTPS id 62C9C3260DB; Wed, 18 Sep 2013 09:50:31 -0400 (EDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_4DC16C7D-0D2F-45EA-8E33-915097FAC6A3" Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) In-Reply-To: <49D57F66323040FC9AE48244DAAF3771@gmail.com> Date: Wed, 18 Sep 2013 09:50:30 -0400 Cc: internals@lists.php.net Message-ID: <012B9378-3C3A-4169-96D3-3B57D6C7A82C@seancoates.com> References: <49D57F66323040FC9AE48244DAAF3771@gmail.com> To: Leigh X-Mailer: Apple Mail (2.1503) Subject: Re: [PHP-DEV] Re: Allowing is_* functions to accept multiple parameters From: sean@seancoates.com (Sean Coates) --Apple-Mail=_4DC16C7D-0D2F-45EA-8E33-915097FAC6A3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > i.e. is_null($a, $b, $c) would be the same as is_null($a) && = is_null($b) > && is_null($c) Note that this would not be semantically equivalent in this form, even = if `is_null()` did accept multiple parameters, because of the = short-circuiting with `&&`: