Req #37681 [Com]: PUT and DELETE superglobals support
| From: | bruz dot arri at gmail dot com | Date: | Fri, 14 Feb 2020 09:53:57 +0000 |
| Subject: | Req #37681 [Com]: PUT and DELETE superglobals support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-225574@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=37681&edit=1
ID: 37681
Comment by: bruz dot arri at gmail dot com
Reported by: f_kereki at cs dot com dot uy
Summary: PUT and DELETE superglobals support
Status: Re-Opened
Type: Feature/Change Request
Package: *General Issues
Operating System: SUSE 10.0
PHP Version: *
Block user comment: N
Private report: N
New Comment:
In php 7.4 still not solved.
This was very helpfull for develop REST APIs and similars.
There is any option to add this in the future?
Is this problem at least being debated by PHP core developers? Or is it not even being valued?
Previous Comments:
------------------------------------------------------------------------
[2019-01-16 05:19:49] azharakbar at gmail dot com
Hi,
I am a PHP Application Developer
I would appreciate if there is support for $_PUT, $_DELETE superglobals similar to $_GET and $_POST
since these 4 are the major http request methods
I know of the workaroung of parsing php://input stream
But it doesnt look good on a highly mature scripting language as PHP as there should be a native
support for PUT and DELETE requests
------------------------------------------------------------------------
[2017-01-31 10:52:57] fkereki at gmail dot com
This issue is still not solved, and the rationale for its solution is still valid.
------------------------------------------------------------------------
[2017-01-29 04:22:45] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
[2017-01-20 20:55:27] heiglandreas@php.net
Is this still relevant?
------------------------------------------------------------------------
[2012-02-01 00:23:17] catch dot dave at gmail dot com
Parsing "php://input" is *not* a workaround because it fails on multipart/encoded
input. Which is a common method to send data (and also the only way to send
files).
See similar/duplicate bug entry here: https://bugs.php.net/bug.php?id=55815
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=37681
--
Edit this bug report at https://bugs.php.net/bug.php?id=37681&edit=1