Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78486 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9576 invoked from network); 30 Oct 2014 20:24:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Oct 2014 20:24:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:55315] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/11-04091-C7E92545 for ; Thu, 30 Oct 2014 15:24:29 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 06BF32400F4; Thu, 30 Oct 2014 16:24:26 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZqOTwTq_SRuv; Thu, 30 Oct 2014 16:24:25 -0400 (EDT) Received: from oa-res-26-28.wireless.abdn.ac.uk (oa-res-26-28.wireless.abdn.ac.uk [137.50.26.28]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 02AEF2400D6; Thu, 30 Oct 2014 16:24:24 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) In-Reply-To: Date: Thu, 30 Oct 2014 20:24:23 +0000 Cc: Florian Margaine , PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: <36B5E957-01C0-40F2-B4CE-5B02D11ACA14@ajf.me> References: To: Sherif Ramadan X-Mailer: Apple Mail (2.1990.1) Subject: Re: [PHP-DEV] New Standardized HTTP Interface From: ajf@ajf.me (Andrea Faulds) > On 30 Oct 2014, at 19:49, Sherif Ramadan = wrote: >=20 > Well, let's look at how well providing implementation has worked out = for > PHP so far. >=20 > GPC variables are implementation. They pose rigidity to userland code = for a > number of reasons. For example, if you do send a PUT request to PHP, = PHP > will not bother populating GPC at all. Instead it leaves the user to = define > their own handling from the input stream directly. If you do send = GET/POST > requests to PHP, the variable names can be mangled and $_GET/$_POST = are > treated differently for encoding as one is run through url_decode and = the > other is not. We could just fix these problems rather than adding an entirely new = implementation. -- Andrea Faulds http://ajf.me/