Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70573 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53057 invoked from network); 10 Dec 2013 18:24:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Dec 2013 18:24:52 -0000 Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.53 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.215.53 mail-la0-f53.google.com Received: from [209.85.215.53] ([209.85.215.53:46884] helo=mail-la0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C5/47-04453-37C57A25 for ; Tue, 10 Dec 2013 13:24:51 -0500 Received: by mail-la0-f53.google.com with SMTP id mc6so2713086lab.40 for ; Tue, 10 Dec 2013 10:24:48 -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=xkLOXjbFl35KW6p0Y5pAYs4vh7p3d0xLP3cMp1MijPE=; b=QCz+89zYP0eDxuCddyO2CenuEqR1UNDxsRKKYhVRZh38TuM/QJgOs0K8sQc0hYPndy N+Q86eXPsOD/jSZGBM0zEziM26uY8jyCRqOQPddKo10JywNiu6I8PpaIs1SOag869c7u dAx5S3cE2cqCkbl+5qa38IDFrw3nueKePYTliupjuu5MmFpryny5f1fEBgkplyHiRoWP kkTB2ibqG/in2IndFgfYGSavU21kznY4OvSo8CJnfBU+sDLPgrIS9MRh0eKpohY90ewe wHjvWdgr+OhFU9K1S6SB8GAi7k+oKLbhaVB7csNtdwKb1gesTSB8LZ3gIIgjCCtb2gWl jYMQ== MIME-Version: 1.0 X-Received: by 10.152.3.70 with SMTP id a6mr5816125laa.63.1386699888271; Tue, 10 Dec 2013 10:24:48 -0800 (PST) Received: by 10.114.197.35 with HTTP; Tue, 10 Dec 2013 10:24:48 -0800 (PST) In-Reply-To: <52A751A9.70805@oracle.com> References: <1386690052.9685.24.camel@smugmug> <52A751A9.70805@oracle.com> Date: Tue, 10 Dec 2013 19:24:48 +0100 Message-ID: To: Christopher Jones Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] [RFC] Slim POST data From: mike.php.net@gmail.com (Michael Wallner) On Dec 10, 2013 6:38 PM, "Christopher Jones" wrote: > The RFC doesn't look too complete, IMHO. Well, probably, because I don't even know why I had to write an RFC for this kind of stuff. > For example, the section > "SAPIs Impacted" just contains the text "Web-SAPIs." Which ones have > you identified? How are they affected? None are affected in a direct way. It's just that POST data will probably only exist with web SAPIs or to be more explicit, SAPIs providing a read_post handler. Actually, no web SAPI had to be changed, just the CLI server hack needed attention. > The RFC needs to be complete > enough that an outsider can understand the implications. How about there are not many implications? Did you notice the BC recovering userland code? There's really not much about it. I'm very bad with talking much about nothing... > Another example: the RFC doesn't distinguish between internal default > INI settings and php.ini-* values, not even to mention if they are to > be kept in sync. ### From "Changes to PHP-5.6": * Change always_populate_raw_post_data INI setting to accept three values instead of two. * -1: The behavior of master; don't ever populate $GLOBALS[HTTP_RAW_POST_DATA] * 0/off/whatever: BC behavior * 1/on/yes/true: BC behavior INI-default was not touched, I just changed the *commented* value in php.ini to -1, the value providing future proof behavior. ### From "Backward Incompatible Changes to master": $HTTP_RAW_POST_DATA and always_populate_raw_post_data were removed. Nothing more to add here, or is removed non-obvious? Cheers, Mike, who would have loved to talk about all that nearly *three* months ago.