php-src/tests/basic/rfc1867_boundary_1.phpt
2009-07-18 13:46:08 +00:00

26 lines
527 B
PHP

--TEST--
rfc1867 boundary 1
--INI--
post_max_size=1024
error_reporting=E_ALL&~E_NOTICE
comment=debug builds show some additional E_NOTICE errors
--POST_RAW--
Content-Type: multipart/form-data; boundary="------------------------------------foobar"
--------------------------------------foobar
Content-Disposition: form-data; name="foobar"
1
--------------------------------------foobar--
--FILE--
<?php
var_dump($_FILES);
var_dump($_POST);
?>
--EXPECTF--
array(0) {
}
array(1) {
[%u|b%"foobar"]=>
%unicode|string%(1) "1"
}