Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69215 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38786 invoked from network); 18 Sep 2013 20:05:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Sep 2013 20:05:22 -0000 Authentication-Results: pb1.pair.com header.from=bobwei9@hotmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=bobwei9@hotmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.com designates 157.55.1.174 as permitted sender) X-PHP-List-Original-Sender: bobwei9@hotmail.com X-Host-Fingerprint: 157.55.1.174 dub0-omc2-s35.dub0.hotmail.com Windows 2000 SP4, XP SP1 Received: from [157.55.1.174] ([157.55.1.174:2758] helo=dub0-omc2-s35.dub0.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/D1-29009-1870A325 for ; Wed, 18 Sep 2013 16:05:22 -0400 Received: from DUB406-EAS396 ([157.55.1.136]) by dub0-omc2-s35.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 18 Sep 2013 13:05:19 -0700 X-TMN: [79ydbu+ZnI/kB3wCKQ2LmczmtPi9KhmL] X-Originating-Email: [bobwei9@hotmail.com] Message-ID: References: <49D57F66323040FC9AE48244DAAF3771@gmail.com> <012B9378-3C3A-4169-96D3-3B57D6C7A82C@seancoates.com> Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" In-Reply-To: Date: Wed, 18 Sep 2013 22:05:21 +0200 To: Leigh CC: Developers List PHP Mailing MIME-Version: 1.0 (1.0) X-OriginalArrivalTime: 18 Sep 2013 20:05:19.0042 (UTC) FILETIME=[66151220:01CEB4AA] Subject: Re: [PHP-DEV] Re: Allowing is_* functions to accept multiple parameters From: bobwei9@hotmail.com (Bob Weinand) Am 18.09.2013 um 21:57 schrieb "Leigh" : > On 18 September 2013 18:50, Bob Weinand wrote: >> At least, from a technical point, evaluating LTR would require to change t= he engine >> (would be some more complex change as it would require to switch between c= ontexts >> and being able to execute the ZEND_SEND_VAL opcodes one by one >=20 > Feels like you're overthinking it? >=20 > Plan was to allow any is_* function to be called as normal (SEND_VAR, > SEND_VAR ... FCALL), then iterate over the supplied arguments inside > the function and return false at the first failure, emulating the > boolean short circuit. Well, the arguments are executed at the moment where the ZEND_SEND_VAR op is= encountered. But this you already can do with the one liner in my last mail= . So LTR support is basically not worth it here (too many change/too much cost= for this). Bob Weinand=