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