setlocale

setlocale

(PHP 4, PHP 5, PHP 7)

setlocaleSet locale information

Description

string setlocale ( int $category , string $locale [, string $... ] )
string setlocale ( int $category , array $locale )

Sets locale information.

Parameters

category

category is a named constant specifying the category of the functions affected by the locale setting: