PHP string setlocale() FunctionThe string setlocale() function is in-built function of PHP. It is used to set local information. It returns the new current locale and False if the locale functionality is not implemented. Note: It returns value depends on the system.Syntax:
Example 1Output: Your Location is:US By using setlocale() function:English_United States.1252 Example 2Output: Your Location is: NULL By using setlocale() function:English_United States.1252 Next TopicPHP String |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India