1--TEST--
2enable_post_data_reading: rfc1867
3--INI--
4enable_post_data_reading=0
5--POST_RAW--
6Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
7-----------------------------20896060251896012921717172737
8Content-Disposition: form-data; name="file1"; filename="file1.txt"
9Content-Type: text/plain-file
10
111
12-----------------------------20896060251896012921717172737--
13--FILE--
14<?php
15var_dump($_FILES);
16var_dump($_POST);
17var_dump(file_get_contents("php://input"));
18var_dump(file_get_contents("php://input"));
19--EXPECTF--
20array(0) {
21}
22array(0) {
23}
24string(%d) "-----------------------------20896060251896012921717172737
25Content-Disposition: form-data; name="file1"; filename="file1.txt"
26Content-Type: text/plain-file
27
281
29-----------------------------20896060251896012921717172737--"
30string(%d) "-----------------------------20896060251896012921717172737
31Content-Disposition: form-data; name="file1"; filename="file1.txt"
32Content-Type: text/plain-file
33
341
35-----------------------------20896060251896012921717172737--"
36