1--TEST-- 2request_parse_body() with multipart and garbled field 3--INI-- 4max_file_uploads=1 5--ENV-- 6REQUEST_METHOD=PUT 7--POST_RAW-- 8Content-Type: multipart/form-data; boundary=---------------------------84000087610663814162942123332 9-----------------------------84000087610663814162942123332 10Content-Disposition: form-data; 11Content-Type: text/plain 12 13post field data 14-----------------------------84000087610663814162942123332-- 15--FILE-- 16<?php 17 18try { 19 [$_POST, $_FILES] = request_parse_body(); 20} catch (Throwable $e) { 21 echo get_class($e), ': ', $e->getMessage(), "\n"; 22} 23 24var_dump($_POST, $_FILES); 25 26?> 27--EXPECT-- 28RequestParseBodyException: File Upload Mime headers garbled 29array(0) { 30} 31array(0) { 32} 33