1--TEST--
2request_parse_body() invalid quantity
3--FILE--
4<?php
5
6try {
7    request_parse_body(options: [
8        'upload_max_filesize' => '1GB',
9    ]);
10} catch (Throwable $e) {
11    echo get_class($e), ': ', $e->getMessage(), "\n";
12}
13
14?>
15--EXPECTF--
16Warning: Invalid quantity "1GB": unknown multiplier "B", interpreting as "1" for backwards compatibility in %s on line %d
17RequestParseBodyException: Request does not provide a content type
18