Re: [PHP-DEV] Native support - PUT request, multipart form data

[email protected] (Ferenc Kovacs)
Newsgroups php.internals
Message-ID <CAH-PCH4MEg31v624jNV8rG73j4OWOakBApVx3QMUdCqP8ui5ZA@mail.gmail.com>
On Sun, Aug 17, 2014 at 12:41 AM, Park Framework <[email protected]>
wrote:

> This is necessary for convenient use RESTful API.
>
> file_get_contents('php://input')  - Very inconvenient
>
> I would like to finally get native support for PHP, preferably version 5.6
>

feel free to create an rfc/implementation, I don't think it would be wise
to introduce it in 5.6.x(there is zero chance to have this in 5.6.0), but
our releaseprocess allows small self-contained features in a micro version,
so you can try targetting 5.6.next with the rfc but there is a chance that
some people will vote no who otherwise would support this in 5.next or 7.0.
I tend to agree that it would be better to move away from the method named
superglobals, but ofc. killing off $_GET/$_POST could only happen in a
major version.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.