(no version information, might be only in CVS)
This function returns the default Locale, which is used by PHP to localize certain features. Please note that this isn't influenced by setlocale() or the system settings.
Returns a string with the current Locale.
例子 1. A i18n_loc_get_default() example
<?php// get the default Localeecho i18n_loc_get_default();//set a new Locale...i18n_loc_set_default('pt_PT');// ... and print itecho i18n_loc_get_default();?>
上例將輸出:
en_US_POSIX pt_PT