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;
}