Php/docs/function.nl-langinfo

From Get docs

nl_langinfo

(PHP 4 >= 4.1.0, PHP 5, PHP 7)

nl_langinfoQuery language and locale information


Description

nl_langinfo ( int $item ) : string|false

nl_langinfo() is used to access individual elements of the locale categories. Unlike localeconv(), which returns all of the elements, nl_langinfo() allows you to select any specific element.


Parameters

item

item may be an integer value of the element or the constant name of the element. The following is a list of constant names for item that may be used and their description. Some of these constants may not be defined or hold no value for certain locales.

nl_langinfo Constants

Constant


Return Values

Returns the element as a string, or FALSE if item is not valid.


Notes

Note:

This function is not

implemented on Windows platforms.

See Also