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