1--TEST--
2rfc1867 anonymous upload
3--INI--
4file_uploads=1
5upload_max_filesize=1024
6max_file_uploads=10
7--POST_RAW--
8Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
9-----------------------------20896060251896012921717172737
10Content-Disposition: form-data; filename="file1.txt"
11Content-Type: text/plain-file1
12
131
14-----------------------------20896060251896012921717172737
15Content-Disposition: form-data; filename="file2.txt"
16Content-Type: text/plain-file2
17
182
19-----------------------------20896060251896012921717172737--
20--FILE--
21<?php
22var_dump($_FILES);
23var_dump($_POST);
24?>
25--EXPECTF--
26array(2) {
27  [%d]=>
28  array(5) {
29    ["name"]=>
30    string(9) "file1.txt"
31    ["type"]=>
32    string(16) "text/plain-file1"
33    ["tmp_name"]=>
34    string(%d) "%s"
35    ["error"]=>
36    int(0)
37    ["size"]=>
38    int(1)
39  }
40  [%d]=>
41  array(5) {
42    ["name"]=>
43    string(9) "file2.txt"
44    ["type"]=>
45    string(16) "text/plain-file2"
46    ["tmp_name"]=>
47    string(%d) "%s"
48    ["error"]=>
49    int(0)
50    ["size"]=>
51    int(1)
52  }
53}
54array(0) {
55}
56