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(6) {
29    ["name"]=>
30    string(9) "file1.txt"
31    ["full_path"]=>
32    string(9) "file1.txt"
33    ["type"]=>
34    string(16) "text/plain-file1"
35    ["tmp_name"]=>
36    string(%d) "%s"
37    ["error"]=>
38    int(0)
39    ["size"]=>
40    int(1)
41  }
42  [%d]=>
43  array(6) {
44    ["name"]=>
45    string(9) "file2.txt"
46    ["full_path"]=>
47    string(9) "file2.txt"
48    ["type"]=>
49    string(16) "text/plain-file2"
50    ["tmp_name"]=>
51    string(%d) "%s"
52    ["error"]=>
53    int(0)
54    ["size"]=>
55    int(1)
56  }
57}
58array(0) {
59}
60