QA - mb_http_input - function returns FALSE for type 'L' or 'l'

Closes GH-9018.
This commit is contained in:
jcm authored and Christoph M. Becker committed 2022-07-15 14:22:39 +02:00
1 parent 7dcd8f854d
commit 30d89b19cf
1 file changed
+17
+17
View File
@@ -0,0 +1,17 @@
--TEST--
mb_http_input() - Returns FALSE for $type 'L' or 'l'
--EXTENSIONS--
mbstring
--INI--
input_encoding=-1
--FILE--
<?php
var_dump(mb_http_input('L'));
var_dump(mb_http_input('l'));
?>
--EXPECT--
Warning: PHP Startup: INI setting contains invalid encoding "-1" in Unknown on line 0
Warning: PHP Startup: INI setting contains invalid encoding "-1" in Unknown on line 0
bool(false)
bool(false)