Locale::canonicalize

locale_canonicalize

Locale::canonicalize -- locale_canonicalizeCanonicalize the locale string

Description

public static Locale::canonicalize(string $locale): ?string

Warning

This function is currently not documented; only its argument list is available.

Parameters

locale

Return Values

Canonicalized locale string.

Returns null when the length of locale exceeds INTL_MAX_LOCALE_LEN.