mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
QA - mb_http_input - function returns FALSE for type 'L' or 'l'
Closes GH-9018.
This commit is contained in:
parent
7dcd8f854d
commit
30d89b19cf
1 changed files with 17 additions and 0 deletions
17
ext/mbstring/tests/mb_http_input_001.phpt
Normal file
17
ext/mbstring/tests/mb_http_input_001.phpt
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue