[DOC-CVS] [doc-en] master: better doc for setlocale (#4770)
[email protected] (Remi Collet via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Remi Collet (remicollet)
Committer: GitHub (web-flow)
Pusher: remicollet
Date: 2025-07-11T10:58:55+02:00
Commit: https://github.com/php/doc-en/commit/09324fb1df7b5b1c0a5f95e3ebbe802f59da4585
Raw diff: https://github.com/php/doc-en/commit/09324fb1df7b5b1c0a5f95e3ebbe802f59da4585.diff
better doc for setlocale (#4770)
Changed paths:
M reference/strings/functions/setlocale.xml
Diff:
diff --git a/reference/strings/functions/setlocale.xml b/reference/strings/functions/setlocale.xml
index 7f76421559c4..b3e25d8eb725 100644
--- a/reference/strings/functions/setlocale.xml
+++ b/reference/strings/functions/setlocale.xml
@@ -97,12 +97,12 @@
<listitem>
<para>
If <parameter>locales</parameter> is the empty string
- <literal>""</literal>, the locale names will be set from the
+ <literal>""</literal> or is &null;, the locale names will be set from the
values of environment variables with the same names as the above
categories, or from "LANG".
</para>
<para>
- If <parameter>locales</parameter> is &null;,
+ If <parameter>locales</parameter> is <literal>"0"</literal>,
the locale setting is not affected, only the current setting is returned.
</para>
<para>