php-src/ext/mbstring/tests/mb_get_info_http_input.phpt
Alex Dowad d8ef868b92 Return value of mb_get_info can be NULL
This has been the case at least since PHP 5.4. Thanks to Girgias for
pointing it out.

It appears that there are several global variables internal to mbstring
which can be queried via mb_get_info() and which could be NULL, but
at the very least, we know that "mbstring.http_input" is one of them.
2023-11-27 20:53:37 +02:00

10 lines
146 B
PHP

--TEST--
mb_get_info("http_input") can return null
--EXTENSIONS--
mbstring
--FILE--
<?php
var_dump(mb_get_info("http_input"));
?>
--EXPECT--
NULL