--TEST-- mb_http_input() errors: --EXTENSIONS-- mbstring --FILE-- getMessage(), "\n"; } try { var_dump(mb_http_input('Q')); } catch (ValueError $e) { echo $e::class, ': ', $e->getMessage(), "\n"; } ?> --EXPECT-- ValueError: mb_http_input(): Argument #1 ($type) must be one of "G", "P", "C", "S", "I", or "L" ValueError: mb_http_input(): Argument #1 ($type) must be one of "G", "P", "C", "S", "I", or "L"