Habari\MultiByte::strtolower PHP Method

strtolower() public static method

Converts a multibyte string to lowercase. If a valid multibyte library isn't loaded, strtolower() will be used, which can lead to unexpected results.
public static strtolower ( $str, $use_enc = null ) : string.
$str string. The string to lowercase
$use_enc string. The encoding to be used. If not set, the internal encoding will be used.
return string.
    public static function strtolower($str, $use_enc = null)
    {
        $enc = self::$hab_enc;
        if ($use_enc !== null) {
            $enc = $use_enc;
        }
        if (self::$use_library == self::USE_MBSTRING) {
            $ret = mb_strtolower($str, $enc);
        } else {
            $ret = strtolower($str);
        }
        return $ret;
    }