mirror of
https://github.com/php/php-src.git
synced 2026-10-28 17:56:50 +08:00
QA - mb_http_input - function returns FALSE for type 'L' or 'l'
Closes GH-9018.
This commit is contained in:
1 parent
7dcd8f854d
commit
30d89b19cf
1 file changed
+17
@@ -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)
|
||||
Reference in new issue
Block a user