Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70164 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70933 invoked from network); 15 Nov 2013 22:14:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Nov 2013 22:14:27 -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.45 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.128.45 mail-qe0-f45.google.com Received: from [209.85.128.45] ([209.85.128.45:53321] helo=mail-qe0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/21-65134-2CC96825 for ; Fri, 15 Nov 2013 17:14:26 -0500 Received: by mail-qe0-f45.google.com with SMTP id 9so1565282qea.4 for ; Fri, 15 Nov 2013 14:14:23 -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=HrlRUy/dNTa/lhPWiS9mC9Nh77PXkKUed17b+ZK40Bc=; b=ooOlxHH9PkGZwjkytJYYDysZQsvqQrNVdKAl3WIg4zY5FEJ4Jk4bcpGWBJKzTZVlGG 66rmdGgPzwCoa2uN0Ml+kGs31n0//soz09ok+4cu9b0y/jLBumMbhBlWG360iNq9sqja OdAdMQzLZgLtAKuIpSxK8aJRsidtCN6tjCE1U6Sd7M552J4DXxWeQbODEmyHyqY6jJsl 8X6kx2wdOanRFdARl+oJ8T2Q1hdC/tgZUgx8Nd3Tta6m7JUxhaPY/IGFLrM3g85rvjA9 6GkOM7nK+gK8p/x5YP4xoPu/o8h83Wad1TCEvz1QV8SufS7ficsZNrSgmgNcMVj+WL/d IK8w== MIME-Version: 1.0 X-Received: by 10.224.40.138 with SMTP id k10mr13974020qae.67.1384553663656; Fri, 15 Nov 2013 14:14:23 -0800 (PST) Received: by 10.140.37.201 with HTTP; Fri, 15 Nov 2013 14:14:23 -0800 (PST) In-Reply-To: References: Date: Fri, 15 Nov 2013 23:14:23 +0100 Message-ID: To: Yasuo Ohgaki Cc: Michael Wallner , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7bdc89fa4b794a04eb3e85e2 Subject: Re: [PHP-DEV] PHP-5.6 and $HTTP_RAW_POST_DATA From: tyra3l@gmail.com (Ferenc Kovacs) --047d7bdc89fa4b794a04eb3e85e2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Nov 15, 2013 at 11:01 PM, Yasuo Ohgaki wrote: > Hi Mike, > > On Fri, Nov 15, 2013 at 4:18 PM, Michael Wallner wrote: > > > Hi there! > > > > There seem to be concerns about the removal of $HTTP_RAW_POST_DATA in > > PHP-5.6. Nobody mentioned it would be an unacceptable BC break in the > > discussions of the POST data temp stream feature, so I was a bit > > surprised when it came up. > > > > Anyway, what's the opnion on that? For me it is a non-issue, because BC > > can be restored with one line ($GLOBALS["HTTP_RAW_POST_DATA"] =3D > > file_get_contents("php://input")). > > But I could probably re-add the always_populate_raw_post_data INI setti= ng > > and do more or less what the one-liner does internally. > > > > Thoughts? > > > > 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. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --047d7bdc89fa4b794a04eb3e85e2--