vrana Thu Sep 16 10:14:18 2004 EDT
Modified files: /phpdoc/en/reference/strings/functions setlocale.xml Log: Null is equivalent to '', not '0' (bug #26470) http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/setlocale.xml?r1=1.21&r2=1.22&ty=u Index: phpdoc/en/reference/strings/functions/setlocale.xml diff -u phpdoc/en/reference/strings/functions/setlocale.xml:1.21 phpdoc/en/reference/strings/functions/setlocale.xml:1.22 --- phpdoc/en/reference/strings/functions/setlocale.xml:1.21 Thu Sep 16 10:00:03 2004 +++ phpdoc/en/reference/strings/functions/setlocale.xml Thu Sep 16 10:14:17 2004 @@ -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>