mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

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.
10 lines
146 B
PHP
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
|