Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74448 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73658 invoked from network); 23 May 2014 12:56:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2014 12:56:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.198 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.198 imap3.ox.privateemail.com Received: from [192.64.116.198] ([192.64.116.198:50483] helo=imap3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 85/D0-01753-8754F735 for ; Fri, 23 May 2014 08:56:25 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id F072F2A009A; Fri, 23 May 2014 08:56:20 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap3.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap3.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LQjl1XBnRPBc; Fri, 23 May 2014 08:56:20 -0400 (EDT) Received: from [192.168.0.200] (unknown [90.203.28.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 412272A0093; Fri, 23 May 2014 08:56:15 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) In-Reply-To: Date: Fri, 23 May 2014 13:56:11 +0100 Cc: Dmitry Stogov , PHP Internals , Stas Malyshev , Zeev Suraski , Xinchen Hui , Andi Gutmans , Nikita Popov Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Bob Weinand X-Mailer: Apple Mail (2.1878.2) Subject: Re: [PHP-DEV] [RFC] Fast Parameter Parsing API From: ajf@ajf.me (Andrea Faulds) On 23 May 2014, at 13:23, Bob Weinand wrote: > I personally prefer the latter=85 The first is just inconsistent. We = everywhere abolish these chars to indicate params and just there we = leave them? Makes no sense to me... =91+=92 and =91*=92 feel icky. One of the advantages of fast zpp is the = nicer syntax that doesn=92t feel like a regular expression. However, =91+=92= and =91*=92 feel very regexy. Definitely go with Z_PARAM_VARIADIC_EX. = Maybe Z_PARAM_VARIADIC_MIN might be better. -- Andrea Faulds http://ajf.me/