Null is equivalent to '', not '0' (bug #26470)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@168682 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2004-09-16 14:14:17 +00:00
parent 14646e3cd5
commit 2a2750caa3

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.21 $ -->
<!-- $Revision: 1.22 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.setlocale">
<refnamediv>
@ -67,13 +67,13 @@
</simpara>
</note>
<para>
If <parameter>locale</parameter> is the empty string
If <parameter>locale</parameter> is &null; or the empty string
<literal>""</literal>, 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>locale</parameter> is &null; or <literal>"0"</literal>,
If <parameter>locale</parameter> is <literal>"0"</literal>,
the locale setting is not affected, only the current setting is returned.
</para>
<para>