Re: [PHP-DEV] [RFC][Vote] RFC1867 for non-POST HTTP verbs

Hi, Ilija!

I think that removing $input_stream should be revisited.
The problem with Go/RoadRunner/PHP is that PHP parses a[]=1&a[]=2&a[]=3 differently from other languages.

PHP: [a => [1,2,3]]
GO: map[a:[1 2 3]]

See https://github.com/roadrunner-server/roadrunner/issues/1696 and https://github.com/roadrunner-server/roadrunner/issues/1963#issuecomment-2209403600 for more details.

To mitigate this issue, RoadRunner allows raw body on the PHP side by setting http.raw_body = true. Here’s where request_parse_body would be useful if it accepts other streams.

···

Best regards,
Valentin