irchtml Tue Feb 17 21:04:00 2004 EDT
Modified files:
/phpdoc/en/reference/strings/functions setlocale.xml
Log:
setlocale(): passing category param is deprecated
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/setlocale.xml?r1=1.18&r2=1.19&ty=u
Index: phpdoc/en/reference/strings/functions/setlocale.xml
diff -u phpdoc/en/reference/strings/functions/setlocale.xml:1.18
phpdoc/en/reference/strings/functions/setlocale.xml:1.19
--- phpdoc/en/reference/strings/functions/setlocale.xml:1.18 Wed Dec 31 10:03:12
2003
+++ phpdoc/en/reference/strings/functions/setlocale.xml Tue Feb 17 21:04:00 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.18 $ -->
+<!-- $Revision: 1.19 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.setlocale">
<refnamediv>
@@ -59,6 +59,13 @@
</listitem>
</itemizedlist>
</para>
+ <note>
+ <simpara>
+ As of PHP 4.2.0, passing <parameter>Category</parameter> as a string is
+ deprecated, use the above constants instead. Passing them as a string
+ (within quotes) will result in a warning message.
+ </simpara>
+ </note>
<para>
If <parameter>locale</parameter> is the empty string
<literal>""</literal>, the locale names will be set from the