setlocale(): passing category param is deprecated

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@151672 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kenneth Schwartz 2004-02-18 02:04:00 +00:00
parent 26b2c1f27d
commit 62d5b0a1f0

View file

@ -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