Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70163 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68914 invoked from network); 15 Nov 2013 22:02:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Nov 2013 22:02:08 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.47 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.215.47 mail-la0-f47.google.com Received: from [209.85.215.47] ([209.85.215.47:65232] helo=mail-la0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/B0-65134-ED996825 for ; Fri, 15 Nov 2013 17:02:07 -0500 Received: by mail-la0-f47.google.com with SMTP id ep20so3202277lab.20 for ; Fri, 15 Nov 2013 14:02:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=eQJeOousRiDf+8HCpDFiskWfPMG0JltyxjPaGT1GQgQ=; b=TQdulsXaD5nuhjilsVzVNlJ8ptIdgZ0LhAfwkrXuPxZ7g0p1pZZ4dst/g6DRNpBTNb al1TbD8tKvHLjCNpODFZlnv0z4r/BGS6KrF7+Dc1xEONXSjYCTwGHcCRqryFYzDIXYae Isfn1AA2tVenXf5HKB3dz3KH/sAuhbmpVXNW9hUL34b7/Ys1FVo3xKxwwbr3UGPtj5cu sKt1RrSlX0pCbzi9B5QAnKunGm9hJcyt71Mr7i7zd8BwiNVqJ9eUSyN8UMOc0jVBW5UR /hOQuTCrMfTsqBBdSgTFaG4WB/+hZfbnosPvXnx0/b54qp+4gkkFS2yPjXLSv21Zb+/L 3oqA== X-Received: by 10.112.164.38 with SMTP id yn6mr845905lbb.61.1384552923156; Fri, 15 Nov 2013 14:02:03 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.154.201 with HTTP; Fri, 15 Nov 2013 14:01:23 -0800 (PST) In-Reply-To: References: Date: Sat, 16 Nov 2013 07:01:23 +0900 X-Google-Sender-Auth: PP_2xI61lhcvUVOl7MaQ4Pz2_Os Message-ID: To: Michael Wallner Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c259ae28555404eb3e59ce Subject: Re: [PHP-DEV] PHP-5.6 and $HTTP_RAW_POST_DATA From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c259ae28555404eb3e59ce Content-Type: text/plain; charset=UTF-8 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"] = > file_get_contents("php://input")). > But I could probably re-add the always_populate_raw_post_data INI setting > and do more or less what the one-liner does internally. > > Thoughts? > How about create $HTTP_RAW_POST_DATA on demand? Just like $_ENV. Personally, I don't mind this BC break at all as it is simple to workaround. We can have RFC vote from now. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11c259ae28555404eb3e59ce--