Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81883 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13097 invoked from network); 5 Feb 2015 09:03:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2015 09:03:31 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.52 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.52 mail-pa0-f52.google.com Received: from [209.85.220.52] ([209.85.220.52:35705] helo=mail-pa0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 32/1B-51979-2E133D45 for ; Thu, 05 Feb 2015 04:03:31 -0500 Received: by mail-pa0-f52.google.com with SMTP id kq14so1217462pab.11 for ; Thu, 05 Feb 2015 01:03:28 -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:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=j6NwaqbMMCKdYJWWHMXerQ6xvX5ndfl4l/uAsQItc8A=; b=Lg39QyKJmJSbQiUOlVcizATmA3hzn5im/oG67rLgvJZ2Lm/BKNvtNvpQPpIQ2nhX7M 2IxIMsASbbJe4d+Wg73UyOqP5Yyta4U4NFxFeewfxoj+MywvN9+y67m2nsZL1Pv0PwlE gDv82+vcgVd7EpAIPb732X/YHsHar93/+zeio4QUWxZuy8R6xS36RT8weXZ+/3uQmnvX ohb6sytcYQ/hMFbM4/Tj6I/7KObOv18CdWFDNp6/78vx5hTOfF0N8Z76gGHrXM7nFq9O YVlYqCdECU99J7rNZlvy9/KWocZspkilqNX7qsSUwngK3W4+njJUz36lZMOeVaWWfbQe 2DdQ== X-Received: by 10.70.102.131 with SMTP id fo3mr2477004pdb.78.1423127008309; Thu, 05 Feb 2015 01:03:28 -0800 (PST) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id q3sm4373357pdr.63.2015.02.05.01.03.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Feb 2015 01:03:27 -0800 (PST) Message-ID: <54D331D3.5080809@gmail.com> Date: Thu, 05 Feb 2015 01:03:15 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Michael Wallner , PHP Internals References: <54D217E7.8030407@php.net> <54D2AE91.8090800@gmail.com> <54D3271E.2080207@php.net> <54D32A38.9050004@gmail.com> <54D330C3.7030001@php.net> In-Reply-To: <54D330C3.7030001@php.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [RFC] [DISCUSSION] pecl_http From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Yes, I mean $_POST (and $_FILES). It's been requested multiple times, > but I know it's quite controversial. I think this approach is better > than any other proposed yet (think $_PUT and stuff). You're building an OO next-generation API, why you still need $_PUT or $_FILES or anything like that? Just make a nice OO API where the client can request the data cleanly, and hide the details of where they come from. Which would probably also make an added value of making these things actually testable with some minimal API support, without messing with superglobals and general extreme ugliness. -- Stas Malyshev smalyshev@gmail.com