cb95e0b707
For PHP 8 and up, the 'mbstring.func_overload' doesn't exist anymore, so skip any check/condition based on it. The patch has been done that way, so it's easier to remove the whole block of code once PHP 8.0 becomes our min supported PHP version. The change is self-coveres (changes the external and its own tests).