Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90090 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81425 invoked from network); 5 Jan 2016 14:17:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2016 14:17:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.174 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.160.174 mail-yk0-f174.google.com Received: from [209.85.160.174] ([209.85.160.174:34595] helo=mail-yk0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 32/70-12097-B50DB865 for ; Tue, 05 Jan 2016 09:17:00 -0500 Received: by mail-yk0-f174.google.com with SMTP id a85so204895589ykb.1 for ; Tue, 05 Jan 2016 06:16:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=P+F7woWKOfSASQei3DrWbZt6nfhOGZkYvXeZffWGbhc=; b=iL3FPEUnk07DsUgpWyKVngbEBSmk1juSA5y0xQLLhH5r0I7Oyz7HQFXkmTJiPyp202 wfRDtUyAgSRQ2WA9RCyHk14wpC2KCjRNzwaPyl+Bmx7hhKEpS/gDIao3Kut86VQWRpVq 91Hq4CpDwlSPvqC21GVtEkF7oTP8kUr87WigfhIoQAimn9kJ1fYkdFTimHplqvGr1Xft B09+sm1wXsqB7zwibcbYeiWWPm5mVBFagt6fYStd5n4Tb2kibYFjHMBErMLo/06K9uKA 4Dd87vpW1hOia7+rxv9fYVGnxj0lmfpZBs13F1YWu5Dko3X8kY09qOVsZ9ie9XY/Y8bX EPYg== MIME-Version: 1.0 X-Received: by 10.129.136.199 with SMTP id y190mr53920188ywf.267.1452003417074; Tue, 05 Jan 2016 06:16:57 -0800 (PST) Received: by 10.129.148.70 with HTTP; Tue, 5 Jan 2016 06:16:57 -0800 (PST) In-Reply-To: References: Date: Tue, 5 Jan 2016 15:16:57 +0100 Message-ID: To: Sara Golemon Cc: PHP internals Content-Type: multipart/alternative; boundary=001a114c5e36e33db0052896e3f9 Subject: Re: [PHP-DEV] [RFC] Normalize token_get_all() output (with flag) From: nikita.ppv@gmail.com (Nikita Popov) --001a114c5e36e33db0052896e3f9 Content-Type: text/plain; charset=UTF-8 On Mon, Jan 4, 2016 at 11:56 PM, Sara Golemon wrote: > I swear, 2016 isn't going to be "An RFC per day" year, but... > > https://wiki.php.net/rfc/token-get-always-tokens > > This should be pretty non-controversial. I hope? > > +1 Would be nice if someone could come up with a more explicit name for the flag. TOKEN_FULL is not obvious, at least to me. TOKEN_ALWAYS_ARRAY? I'd also like to have a flag TOKEN_NO_LINENOS with deduplication of token arrays, but that's a separate matter... Nikita --001a114c5e36e33db0052896e3f9--