PHP: nl_langinfo - Manual (original) (raw)

[LCTIME](string.constants.php#constant.lc-time) Category Constants

[ABDAY_(1-7)](string.constants.php#constant.abday-1)

Abbreviated name of n-th day of the week.

[DAY_(1-7)](string.constants.php#constant.day-1)

Name of the n-th day of the week (DAY_1 = Sunday).

[ABMON_(1-12)](string.constants.php#constant.abmon-1)

Abbreviated name of the n-th month of the year.

[MON_(1-12)](string.constants.php#constant.mon-1)

Name of the n-th month of the year.

[AM_STR](string.constants.php#constant.am-str)

String for Ante meridian.

[PM_STR](string.constants.php#constant.pm-str)

String for Post meridian.

[D_T_FMT](string.constants.php#constant.d-t-fmt)

String that can be used as the format string for strftime() to represent time and date.

[D_FMT](string.constants.php#constant.d-fmt)

String that can be used as the format string for strftime() to represent date.

[T_FMT](string.constants.php#constant.t-fmt)

String that can be used as the format string for strftime() to represent time.

[T_FMT_AMPM](string.constants.php#constant.t-fmt-ampm)

String that can be used as the format string for strftime() to represent time in 12-hour format with ante/post meridian.

[ERA](string.constants.php#constant.era)

Alternate era.

[ERA_YEAR](string.constants.php#constant.era-year)

Year in alternate era format.

[ERA_D_T_FMT](string.constants.php#constant.era-d-t-fmt)

Date and time in alternate era format (string can be used in strftime()).

[ERA_D_FMT](string.constants.php#constant.era-d-fmt)

Date in alternate era format (string can be used in strftime()).

[ERA_T_FMT](string.constants.php#constant.era-t-fmt)

Time in alternate era format (string can be used in strftime()).

[LCMONETARY](string.constants.php#constant.lc-monetary) Category Constants

[INT_CURR_SYMBOL](string.constants.php#constant.int-curr-symbol)

International currency symbol.

[CURRENCY_SYMBOL](string.constants.php#constant.currency-symbol)

Local currency symbol.

[CRNCYSTR](string.constants.php#constant.crncystr)

Same value as [CURRENCY_SYMBOL](string.constants.php#constant.currency-symbol).

[MON_DECIMAL_POINT](string.constants.php#constant.mon-decimal-point)

Decimal point character.

[MON_THOUSANDS_SEP](string.constants.php#constant.mon-thousands-sep)

Thousands separator (groups of three digits).

[MON_GROUPING](string.constants.php#constant.mon-grouping)

Like "grouping" element.

[POSITIVE_SIGN](string.constants.php#constant.positive-sign)

Sign for positive values.

[NEGATIVE_SIGN](string.constants.php#constant.negative-sign)

Sign for negative values.

[INT_FRAC_DIGITS](string.constants.php#constant.int-frac-digits)

International fractional digits.

[FRAC_DIGITS](string.constants.php#constant.frac-digits)

Local fractional digits.

[P_CS_PRECEDES](string.constants.php#constant.p-cs-precedes)

Returns 1 if [CURRENCY_SYMBOL](string.constants.php#constant.currency-symbol) precedes a positive value.

[P_SEP_BY_SPACE](string.constants.php#constant.p-sep-by-space)

Returns 1 if a space separates [CURRENCY_SYMBOL](string.constants.php#constant.currency-symbol) from a positive value.

[N_CS_PRECEDES](string.constants.php#constant.n-cs-precedes)

Returns 1 if [CURRENCY_SYMBOL](string.constants.php#constant.currency-symbol) precedes a negative value.

[N_SEP_BY_SPACE](string.constants.php#constant.n-sep-by-space)

Returns 1 if a space separates [CURRENCY_SYMBOL](string.constants.php#constant.currency-symbol) from a negative value.

[P_SIGN_POSN](string.constants.php#constant.p-sign-posn)

[N_SIGN_POSN](string.constants.php#constant.n-sign-posn)

[LCNUMERIC](string.constants.php#constant.lc-numeric) Category Constants

[DECIMAL_POINT](string.constants.php#constant.decimal-point)

Decimal point character.

[RADIXCHAR](string.constants.php#constant.radixchar)

Same value as [DECIMAL_POINT](string.constants.php#constant.decimal-point).

[THOUSANDS_SEP](string.constants.php#constant.thousands-sep)

Separator character for thousands (groups of three digits).

[THOUSEP](string.constants.php#constant.thousep)

Same value as [THOUSANDS_SEP](string.constants.php#constant.thousands-sep).

[GROUPING](string.constants.php#constant.grouping)

[LCMESSAGES](string.constants.php#constant.lc-messages) Category Constants

[YESEXPR](string.constants.php#constant.yesexpr)

Regex string for matching "yes" input.

[NOEXPR](string.constants.php#constant.noexpr)

Regex string for matching "no" input.

[YESSTR](string.constants.php#constant.yesstr)

Output string for "yes".

[NOSTR](string.constants.php#constant.nostr)

Output string for "no".

[LCCTYPE](string.constants.php#constant.lc-ctype) Category Constants

[CODESET](string.constants.php#constant.codeset)

Return a string with the name of the character encoding.