/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
mbstring
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/mbstring/tests/bug76704.phpt
--TEST-- Bug #76704 (mb_detect_order return value varies based on argument type) --SKIPIF-- <?php if (!extension_loaded('mbstring')) die('skip mbstring extension not available'); ?> --FILE-- <?php try { var_dump(mb_detect_order('Foo, UTF-8')); } catch (\ValueError $e) { echo $e->getMessage() . \PHP_EOL; } try { var_dump(mb_detect_order(['Foo', 'UTF-8'])); } catch (\ValueError $e) { echo $e->getMessage() . \PHP_EOL; } ?> --EXPECT-- mb_detect_order(): Argument #1 ($encoding) contains invalid encoding "Foo" mb_detect_order(): Argument #1 ($encoding) contains invalid encoding "Foo"
Copyright ©2k19 -
Hexid
|
Tex7ure