The idea is that the standard column should be identical to the BinString column on systems without mbstring.func_overload enabled.
Cells with a pink background are expected to fail, as they are either parsing mb strings to non mb aware functions, where they can't convert or deal with those utf8 characters, or they are just containing characters the function can't handle, due to having the wrong locale.
The test strings contain the three Danish letters æ, ø and å, not all PHP string functions can parse those, for instance the case conversion functions.
ereg functions are not tested, as they have been deprecated from PHP 5.3.0, and people should use the PCRE extension's preg_* functions instead.
Using PHP_VERSION_ID: 70403
function | mb_input | standard | mb_* | BinStringStatic._* |
---|---|---|---|---|
mail() | no | UNTESTED | UNTESTED | UNTESTED |
strlen() | yes | PASS received: 10 |
Fatal error: Uncaught Error: Call to undefined function mb_strlen() in /var/www/clients/conquer/conquer-communitybox/MXFiscal/vendor/grandt/binstring/BinString.Example2.php:101 Stack trace: #0 {main} thrown in /var/www/clients/conquer/conquer-communitybox/MXFiscal/vendor/grandt/binstring/BinString.Example2.php on line 101 |