mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
44dece2d95
enabled).
19 lines
381 B
PHP
19 lines
381 B
PHP
--TEST--
|
|
Bug #45239 (encoding detector hangs with mbstring.strict_detection enabled)
|
|
--INI--
|
|
mbstring.strict_detection=1
|
|
mbstring.http_input=UTF-8
|
|
mbstring.internal_encoding=UTF-8
|
|
--SKIPIF--
|
|
<?php
|
|
extension_loaded('mbstring') or die('skip');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
mb_internal_encoding("utf-8");
|
|
mb_parse_str("a=%fc", $dummy);
|
|
var_dump(mb_http_input());
|
|
?>
|
|
--EXPECT--
|
|
string(5) "UTF-8"
|