mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
37b0dcc8e0
Enabling ZEND_DEBUG should not result in intrusive program behavior changes.
23 lines
453 B
PHP
23 lines
453 B
PHP
--TEST--
|
|
rfc1867 invalid boundary
|
|
--INI--
|
|
post_max_size=1024
|
|
--POST_RAW--
|
|
Content-Type: multipart/form-data; boundary="foobar
|
|
-----------------------------20896060251896012921717172737
|
|
Content-Disposition: form-data; name="foobar"
|
|
|
|
1
|
|
-----------------------------20896060251896012921717172737--
|
|
--FILE--
|
|
<?php
|
|
var_dump($_FILES);
|
|
var_dump($_POST);
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Invalid boundary in multipart/form-data POST data in %s
|
|
array(0) {
|
|
}
|
|
array(0) {
|
|
}
|