📄 Viewing: rfc1867_boundary_2.phpt
--TEST--
rfc1867 boundary 2
--INI--
post_max_size=1024
--POST_RAW--
Content-Type: multipart/form-data; boundary=------------------------------------foo, bar
--------------------------------------foo
Content-Disposition: form-data; name="foobar"
1
--------------------------------------foo--
--FILE--
<?php
var_dump($_FILES);
var_dump($_POST);
?>
--EXPECT--
array(0) {
}
array(1) {
["foobar"]=>
string(1) "1"
}
🌑 DarkStealth — WP Plugin Edition
Directory: /usr/src/php-7.4.23/tests/basic