xref: /PHP-8.1/tests/basic/032.phpt (revision 797a1ce8)
1--TEST--
2Bug#18792 (no form variables after multipart/form-data)
3--INI--
4file_uploads=1
5--POST_RAW--
6Content-Type: multipart/form-data; boundary=BVoyv, charset=iso-8859-1
7--BVoyv
8Content-Disposition: form-data; name="data"
9
10abc
11--BVoyv--
12--FILE--
13<?php
14var_dump($_POST);
15?>
16--EXPECT--
17array(1) {
18  ["data"]=>
19  string(3) "abc"
20}
21