[php-src] PR #12787: Return value of mb_get_info can be NULL
| From: | alexdowad | Date: | Sun, 26 Nov 2023 15:37:29 +0000 |
| Subject: | [php-src] PR #12787: Return value of mb_get_info can be NULL | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24322@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12787
Author: alexdowad
This has been the case at least since PHP 5.4. Thanks to Girgias for pointing it out in #12753.
It appears that there are several global variables internal to mbstring which can be queried via
mb_get_info and which could be NULL. To determine exactly which other keys (aside from
"mbstring.http_input") can return NULL would require further investigation,
but this doesn't seem very worthwhile to me now.
Closes #12753.