Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70518 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82085 invoked from network); 7 Dec 2013 07:40:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Dec 2013 07:40:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.181 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.181 mail-qc0-f181.google.com Received: from [209.85.216.181] ([209.85.216.181:43139] helo=mail-qc0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5F/10-15194-EC0D2A25 for ; Sat, 07 Dec 2013 02:39:59 -0500 Received: by mail-qc0-f181.google.com with SMTP id e9so1183893qcy.40 for ; Fri, 06 Dec 2013 23:39:56 -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=Ly92ieE/30BxwKx7lWd0FYg9SaqPkHdKakFR5cg/llM=; b=MDsjL1NADvGioTDecrs8xL216BaiW7Zh9SE3dbSepMxHmxi012b0sLrHCU+a1YhnxI iSJs0qC77rTXTgPlMA1W6eox5OMQyIZtASSB9bS7Z/IUKsFzFws0ZpU1b3yuxOlC0xQi qzghoMFA+VBne/vfoHXzobWJ19Qq1CtPT4Il2ctxf+WXvIx5wvJaYJj5N7REopYec9bv 4laLouv8GUtl2Ihf4lRGrqX0KDomxOocn7FTWq4Pu3YsMljagc3+82V2SzFX0FHnQ6Bv 6+ukgTi88m1sK9AFbJmVeElN8U8PuGvewUp7x8vpF0MfDKyMfX2fhb6iZsDtf74GsM58 IRFw== MIME-Version: 1.0 X-Received: by 10.224.151.79 with SMTP id b15mr9686824qaw.46.1386401996184; Fri, 06 Dec 2013 23:39:56 -0800 (PST) Received: by 10.140.37.179 with HTTP; Fri, 6 Dec 2013 23:39:56 -0800 (PST) In-Reply-To: References: <5293E54F.9060604@rotorised.com> <1385628146.16543.0.camel@smugmug> <1385969508.2637.3.camel@smugmug> Date: Sat, 7 Dec 2013 08:39:56 +0100 Message-ID: To: Mike Cc: Julien Pauli , Adam Harvey , Yasuo Ohgaki , "internals@lists.php.net" , Michael Wallner , Ryan McCue Content-Type: multipart/alternative; boundary=089e0141a46c7fa19104ececdebd Subject: Re: [PHP-DEV] Re: [RFC] Slim POST data (was: PHP-5.6 and $HTTP_RAW_POST_DATA) From: tyra3l@gmail.com (Ferenc Kovacs) --089e0141a46c7fa19104ececdebd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > > >> > I think it would make sense, to have an RFC for 5.6 about introducing >> > the new stream, the new ini option and and how does it keeps userland >> > BC while providing a way to opt-in for the performance gain, and that >> > it introduces an E_DEPRECATED so we can remove the ini and the raw >> > post global variable in the next major version. >> >> I think we cannot add E_DEPRECATED to the INI-setting unless we make its >> default -1... which breaks BC :p >> >> Also, I think two RFCs would be quite much, but I already gave up my >> renitency. >> > > we could emmit the error from populate_raw_post_data in > main/php_content_types.c, telling people that the auto population of > $HTTP_RAW_POST_DATA along with the use of always_populate_raw_post_data > will go away, and they should set always_populate_raw_post_data to -1 and > populate that variable for themself if their want to be forward compatibl= e > (and silence the E_DEPRECATED messages). > > > Hi, Any update on this? I would be ok to merge with the PR in the current form, as it resolves the BC issue, but if we want to remove the INI setting in the future, then adding the E_DEPRECATED would be important step. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --089e0141a46c7fa19104ececdebd--