Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70168 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78106 invoked from network); 15 Nov 2013 23:13:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Nov 2013 23:13:21 -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.128.52 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.128.52 mail-qe0-f52.google.com Received: from [209.85.128.52] ([209.85.128.52:54153] helo=mail-qe0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/00-12302-09AA6825 for ; Fri, 15 Nov 2013 18:13:21 -0500 Received: by mail-qe0-f52.google.com with SMTP id cz11so2233081qeb.39 for ; Fri, 15 Nov 2013 15:13:18 -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=CejRKjLKh+9hQtTgG8Yeny/CR+0wyHLsrlNMlGWP4Sw=; b=GVU6ARKHQNaVJgd56ybKEZWbPX6rXnmTfPYEIXKgj/wQR3jkghiO97X9RyQqq2datg cirG6XRScCgdcys4aaFY+VNo6Tf2Sg+qXmh/SLtW/mbVflkknlmy34vegkEuO4G3vg7l lWZI93sqFNeeTEaMfByh2xYaf4nTZDMHfqZUVFn5Uh5KsffUX84sgaLCxfDpIzV7AveK +kBZTyFWKx/d9hArMqgQ1MElahu4LCmnCOTHmWVwQWomc7ezZ5OwOYmlQcfc0OP9n7Ih RCkR4b+6k9UbyQ1tgS67S9AcNcXs3PuaVf1vigNnh+ppMMhnCNRWCGXEX9vW2k0ukLOT YoLw== MIME-Version: 1.0 X-Received: by 10.49.25.48 with SMTP id z16mr5898409qef.61.1384557198091; Fri, 15 Nov 2013 15:13:18 -0800 (PST) Received: by 10.140.37.201 with HTTP; Fri, 15 Nov 2013 15:13:18 -0800 (PST) In-Reply-To: References: Date: Sat, 16 Nov 2013 00:13:18 +0100 Message-ID: To: Yasuo Ohgaki Cc: Adam Harvey , Michael Wallner , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7b621a42f6ae0104eb3f57c5 Subject: Re: [PHP-DEV] PHP-5.6 and $HTTP_RAW_POST_DATA From: tyra3l@gmail.com (Ferenc Kovacs) --047d7b621a42f6ae0104eb3f57c5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Nov 15, 2013 at 11:49 PM, Yasuo Ohgaki wrote: > Hi all, > > On Sat, Nov 16, 2013 at 7:19 AM, Adam Harvey wrote: > >> On 15 November 2013 14:14, Ferenc Kovacs wrote: >> > On Fri, Nov 15, 2013 at 11:01 PM, Yasuo Ohgaki >> wrote: >> >> How about create $HTTP_RAW_POST_DATA on demand? >> >> Just like $_ENV. >> > >> > if you do that don't forget to update the opcode caches(opcache, apc, >> etc.) >> > also, I remember it caused them problems when we >> > introduced auto_globals_jit. >> >> If that is feasible, do we also want to consider emitting an >> E_DEPRECATED on first access? > > > Good idea. > > Another option is initialize $HTTP_RAW_POST_DATA when > > always_populate_raw_post_data =3D On > that was the suggestion from Michael in his opening mail. and I replied to that already (it is a workaround to bring back the old behavior, but doesn't entirely resolve the bc issue). > > It would be simpler than JIT. > I prefer current implementation, though. > +1 for going simple --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --047d7b621a42f6ae0104eb3f57c5--