|
Locale::getDefaultlocale_get_defaultGets the default locale value from the INTL global 'default_locale' BeschreibungObjektorientierter Stil
public
static
string
Locale::getDefault
( void
)
Prozeduraler Stil
string
locale_get_default
( void
)
Gets the default locale value. At the PHP initialization this value is set to 'intl.default_locale' value from php.ini if that value exists or from ICU's function uloc_getDefault(). Parameter-Liste
RückgabewerteThe current runtime locale BeispieleBeispiel #1 locale_get_default example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: de-DE; fr Siehe auch
|