|
Locale::setDefaultlocale_set_defaultsets the default runtime locale BeschreibungObjektorientierter Stil
public
static
bool
Locale::setDefault
( string
$locale
)Prozeduraler Stil
bool
locale_set_default
( string
$locale
)Sets the default runtime locale to $locale. This changes the value of INTL global 'default_locale' locale identifier. UAX #35 extensions are accepted. Parameter-Liste
Rückgabewerte
Gibt bei Erfolg BeispieleBeispiel #1 locale_set_default example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: de-DE Siehe auch
|