Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70203 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16775 invoked from network); 19 Nov 2013 11:57:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2013 11:57:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-la0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:38387] helo=mail-la0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/30-15197-0325B825 for ; Tue, 19 Nov 2013 06:57:36 -0500 Received: by mail-la0-f42.google.com with SMTP id ec20so6015011lab.15 for ; Tue, 19 Nov 2013 03:57:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:openpgp:content-type; bh=VS1njmh+xMP1SLGDOMKYLIxIYL3XV2XgytT/zH4yc1Q=; b=SpfLQXbJDx/4mxMIkiBuhhrXboUl3+FPagoYKPcHCVaZ3tZErIHZRJH22YVCt6l2zn wQWwlChBL9os9HtLwvBOmpwjJxKotqeAHWMdloC1Mql0N8M7BRGYIPnmHBpNSBBQg7Hz A3QqJCPeSlr2UaC0NxE1E604/zjJJIX1ncMpFmAwlVRlZNcJx+HTs6B0OMaoX/5BfrJX foosLh/Rdd8B7z2eYwX2Ab2E1MTc2rj5+KUCcYWSGjG+714CdX+2uDaSrpP5fJsjeX4f QW8Smhdb77uPzQHM7AueTCGjxHlryPDPLnb9RIa56xtn6ilqU7x4jeBVqj7W2AbwIylZ wWBg== X-Received: by 10.112.154.42 with SMTP id vl10mr941331lbb.38.1384862253012; Tue, 19 Nov 2013 03:57:33 -0800 (PST) Received: from Gearder.local ([92.255.5.146]) by mx.google.com with ESMTPSA id o1sm22047869lah.8.2013.11.19.03.57.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Nov 2013 03:57:31 -0800 (PST) Message-ID: <528B5221.5050502@gmail.com> Date: Tue, 19 Nov 2013 15:57:21 +0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Michael Wallner CC: PHP internals References: <528B3C03.5090804@gmail.com> In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: id=1D219F11 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="A4icPPTEB7g5scnedhc9lkL0cCc6xQPXx" Subject: Re: [PHP-DEV] [RFC] Slim POST data (was: PHP-5.6 and $HTTP_RAW_POST_DATA) From: indeyets@gmail.com (Alexey Zakhlestin) --A4icPPTEB7g5scnedhc9lkL0cCc6xQPXx Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 19.11.13, 14:48, Michael Wallner wrote: > On 19 November 2013 11:22, Alexey Zakhlestin wrote= : >=20 >> 2. restore backwards compatibility (HTTP_RAW_POST_DATA should be >> auto-populated in all cases when it is populated now) >=20 > That defeats the entire change. Not really. We would still have a new implementation, which has a smaller diff to master, so can be kept in sync. I know the stance against new ini-settings, but I wonder if we could introduce an ini-setting which would be equivalent to python's "from future import =E2=80=A6" If this is an option, then HTTP_RAW_POST_DATA could be optimized away when this option is turned on (default is obviously "Off"). >> 3. always_populate_raw_post_data should be introduced for BC purposes >> >> 4. Is it possible to detect usage of HTTP_RAW_POST_DATA and give >> E_DEPRECATED while doing so? >=20 > AFAICS no, it is a standard global variable. that leaves us with deprecation via documentation, then --=20 Alexey Zakhlestin CTO at Grids.by/you https://github.com/indeyets PGP key: http://indeyets.ru/alexey.zakhlestin.pgp.asc --A4icPPTEB7g5scnedhc9lkL0cCc6xQPXx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBCgAGBQJSi1IqAAoJEMkJcRxZdR27pQYIAIdLPrZC8IORI5tBxx4m0LIM A9UqohnXIlZNavN8WhhrM5pciCFztYLm4/YXC2NVU4jp5axsMvxyPw3pC4ne7mHY M5fg+UrnHHwScitIDgWMDi4+0ihbRYdd3EMh0wUXKMekVgxDwZH3elE7RbCtFAWf pc6NQmlDunTD2dE0NK4yAe6ZuXyV14p86v1ClS+sy70c3T7dbo21QnyrHzXjmAy1 gZSVYJSeZlrnkCzVDRIoHnx+X97W5PR1PByeIrEUTxG5A8n2OWYffEgE5LMwv5wH cgNoyhWqFGsz7ONmvm+QJIXRTBflB39G4iS+n64ZPfldSufIRZJJ5brNNfqWt6w= =IGmx -----END PGP SIGNATURE----- --A4icPPTEB7g5scnedhc9lkL0cCc6xQPXx--