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

Closes GH-9018.
This commit is contained in:
jcm 2022-07-15 09:14:31 +02:00 committed by Christoph M. Becker
parent 7dcd8f854d
commit 30d89b19cf
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6

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)