[core/polyfills] remove mb_ functions - there are standard polyfills for that
This commit is contained in:
parent
52278baf75
commit
b6cca42f73
1 changed files with 0 additions and 16 deletions
|
@ -237,22 +237,6 @@ function find_header(array $headers, string $name): ?string
|
||||||
return $header;
|
return $header;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!function_exists('mb_strlen')) {
|
|
||||||
// TODO: we should warn the admin that they are missing multibyte support
|
|
||||||
/** @noinspection PhpUnusedParameterInspection */
|
|
||||||
function mb_strlen(string $str, string $encoding): int
|
|
||||||
{
|
|
||||||
return strlen($str);
|
|
||||||
}
|
|
||||||
function mb_internal_encoding(string $encoding): void
|
|
||||||
{
|
|
||||||
}
|
|
||||||
function mb_strtolower(string $str): string
|
|
||||||
{
|
|
||||||
return strtolower($str);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return class-string[]
|
* @return class-string[]
|
||||||
*/
|
*/
|
||||||
|
|
Reference in a new issue