Topic: MB_OVERLOAD_STRING (int) Removed as of PHP 8.0.0

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

MB_OVERLOAD_STRING (int)
Removed as of PHP 8.0.0

found in file utf8.php on line 41

/**
* If string overloading is active, it will break many of the
* native implementations. mbstring.func_overload must be set
* to 0, 1 or 4 in php.ini (string overloading disabled).
* Also need to check we have the correct internal mbstring
* encoding
*/
if ( extension_loaded('mbstring')) {
    if ( ini_get('mbstring.func_overload') & MB_OVERLOAD_STRING ) {
        trigger_error('String functions are overloaded by mbstring',E_USER_ERROR);
    }
    mb_internal_encoding('UTF-8');
}

Re: MB_OVERLOAD_STRING (int) Removed as of PHP 8.0.0

29.10.2020
https://github.com/MioVisman/punbb/comm … 212c48614e

ForkBB
I speak only Russian  :P