mirror of
https://github.com/php/php-src.git
synced 2024-12-02 14:24:10 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
24 lines
415 B
PHP
24 lines
415 B
PHP
--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"
|
|
}
|