|
locale_set_default
Set the default Locale
()
Example 908. A locale_set_default() exampleThis example demonstrates a possible usage of locale_set_default() to localize the sort() functions. <?php The above example will output: Array If we didn't use the locale, PHP would sort the string using the ASCII characters value, thus returning (wrongly): Array |