1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00
Files
archived-php-src/tests/basic/rfc1867_boundary_2.phpt
Nikita Popov 37b0dcc8e0 Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUG
Enabling ZEND_DEBUG should not result in intrusive program
behavior changes.
2016-08-19 00:34:13 +02:00

24 lines
431 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);
?>
--EXPECTF--
array(0) {
}
array(1) {
[%u|b%"foobar"]=>
%unicode|string%(1) "1"
}