Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70465 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71432 invoked from network); 2 Dec 2013 12:05:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2013 12:05:31 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.46 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.46 mail-qa0-f46.google.com Received: from [209.85.216.46] ([209.85.216.46:33770] helo=mail-qa0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/E2-52529-7877C925 for ; Mon, 02 Dec 2013 07:05:28 -0500 Received: by mail-qa0-f46.google.com with SMTP id f11so4232632qae.5 for ; Mon, 02 Dec 2013 04:05:25 -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=aNLP7HTLzY5pyoQ1gWjqTcOFUu2jJvfx99eFlRPQlWg=; b=hQ0379WM6y8STUe6h9FF+h8sC7y4eWM5UtFZRUME00x2c7uBh+V0GqSvDI3h8Zw+C+ xeNbqn3ZPtWRHoyRQv+hCJZ4/ueeTOyPPRUAfCLvPdpVsDUKHrNg2LyJqwcovbF1KUBk XwZFp+sDapuHtzKjdkCPB1IJG8bzjsQnPSN5INnSn0wW/26j2BwwdC3CL4lAtcbke0tD Hg1jEGcWwwhnDNP1kxN3sDfni/3xp5AsMyayc4+vdIO7F2a2sgGzxmgAVtHuN86hB2e6 NdSARNtM5/rHUZgsAv75IS9dTkFJgge/Z3a01RSItBYLR/Jepr159IwUZx49/9olCdUC M+tw== MIME-Version: 1.0 X-Received: by 10.224.30.16 with SMTP id s16mr23703993qac.51.1385985924907; Mon, 02 Dec 2013 04:05:24 -0800 (PST) Received: by 10.140.37.179 with HTTP; Mon, 2 Dec 2013 04:05:24 -0800 (PST) In-Reply-To: <1385969508.2637.3.camel@smugmug> References: <5293E54F.9060604@rotorised.com> <1385628146.16543.0.camel@smugmug> <1385969508.2637.3.camel@smugmug> Date: Mon, 2 Dec 2013 13:05:24 +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=047d7bf0e278ba67eb04ec8bfe0f Subject: Re: [PHP-DEV] Re: [RFC] Slim POST data (was: PHP-5.6 and $HTTP_RAW_POST_DATA) From: tyra3l@gmail.com (Ferenc Kovacs) --047d7bf0e278ba67eb04ec8bfe0f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Dec 2, 2013 at 8:31 AM, Mike wrote: > On Thu, 2013-11-28 at 10:00 +0100, Ferenc Kovacs wrote: > > > > > Hi Mike, > > > > I think it would be nice to either reconstruct or split the RFC. > > Currently it is a bit hard to tell, that what is changed in which > > version. > > I changed to RFC to be easier comprehensible (hopefully). > thanks! > > > 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 compatible (and silence the E_DEPRECATED messages). --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --047d7bf0e278ba67eb04ec8bfe0f--