Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89507 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17590 invoked from network); 1 Dec 2015 09:26:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Dec 2015 09:26:07 -0000 Authentication-Results: pb1.pair.com header.from=petercowburn@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=petercowburn@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.173 as permitted sender) X-PHP-List-Original-Sender: petercowburn@gmail.com X-Host-Fingerprint: 209.85.160.173 mail-yk0-f173.google.com Received: from [209.85.160.173] ([209.85.160.173:34113] helo=mail-yk0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 26/25-13465-DA76D565 for ; Tue, 01 Dec 2015 04:26:06 -0500 Received: by ykfs79 with SMTP id s79so177182ykf.1 for ; Tue, 01 Dec 2015 01:26:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=MHP1RiqUicJkujhHGI+Gqpn7KsBHUbxm5PDAMDCKLUU=; b=mFHIZlibGmcGVLRsWauD2yvHU+OhLoeOlzRtAv8ad3OXHpSnU9rViUFmM+1BGz6Czr HE1zTpTAxwqdCB9I09v0RC4lybS6pZrpFnvQNSQLli5teGhNeWfB0bMSA0WvlVcFOsSX MVqfvdUzHMREaTJahoKHKofxVnhLFCWINn750V6pvWrQW3RVxJCkYE2LxwRCnoW5cKgP P/5e1crlAL1Ewpu8Xj5qFiPqYAH/uvbKeOqS5OVL3TwCwNLAba4iy8OhKnVyKFW4C+DA thxR7D7GEoliN/KdNbTd0YX07xAxxGER2E4tsKZLYlQB7WAANO7LHNYmXBCx7O1UBk3/ jJnw== X-Received: by 10.129.81.19 with SMTP id f19mr58588873ywb.186.1448961963325; Tue, 01 Dec 2015 01:26:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.53.142 with HTTP; Tue, 1 Dec 2015 01:25:23 -0800 (PST) In-Reply-To: <565D6452.3000203@php.net> References: <565D6452.3000203@php.net> Date: Tue, 1 Dec 2015 09:25:23 +0000 Message-ID: To: Sebastian Bergmann Cc: PHP internals Content-Type: multipart/alternative; boundary=001a1146411e1e01eb0525d2bf00 Subject: Re: [PHP-DEV] INI_SCANNER_TYPED: New in PHP 5.6 or PHP 7? From: petercowburn@gmail.com (Peter Cowburn) --001a1146411e1e01eb0525d2bf00 Content-Type: text/plain; charset=UTF-8 Hi Sebastian, On 1 December 2015 at 09:11, Sebastian Bergmann wrote: > According to UPGRADING [1], INI_SCANNER_TYPED was added in PHP 7: > > "- parse_ini_file(): > - parse_ini_string(): > . Added scanner mode INI_SCANNER_TYPED to yield typed > .ini values." > > However, the INI_SCANNER_TYPED constant already exists in > PHP-5.6 and seems to be actually used. > It was introduced in 5.6.1, as mentioned in the parse_ini_file() docs[1] and in the 5.6 UPGRADING file [2]. Alas, it's not uncommon for older NEWS/UPGRADING entries to mistakenly appear in later versions. > > -- > [1] > http://git.php.net/?p=php-src.git;a=blob_plain;f=UPGRADING;hb=PHP-7.0.0 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > [1] http://php.net/manual/en/function.parse-ini-file.php [2] http://git.php.net/?p=php-src.git;a=blob_plain;f=UPGRADING;hb=PHP-5.6 --001a1146411e1e01eb0525d2bf00--