Habari\MultiByte::strtoupper PHP Метод

strtoupper() публичный статический Метод

Converts a multibyte string to uppercase. If a valid multibyte library isn't loaded, strtoupper() will be used, which can lead to unexpected results.
public static strtoupper ( $str, $use_enc = null ) : string.
$str string. The string to uppercase
$use_enc string. The encoding to be used. If not set, the internal encoding will be used.
Результат string.
    public static function strtoupper($str, $use_enc = null)
    {
        $enc = self::$hab_enc;
        if ($use_enc !== null) {
            $enc = $use_enc;
        }
        if (self::$use_library == self::USE_MBSTRING) {
            $ret = mb_strtoupper($str, $enc);
        } else {
            $ret = strtoupper($str);
        }
        return $ret;
    }