Setlocale uses constants now. +ws fix

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43143 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
foobar 2001-03-10 18:51:47 +00:00
parent 5f1e3a1b3b
commit 144cfff273

View file

@ -1630,44 +1630,43 @@ echo "<author id='$id'>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>setlocale</function></funcdef>
<paramdef>string <parameter>category</parameter></paramdef>
<paramdef>mixed <parameter>category</parameter></paramdef>
<paramdef>string <parameter>locale</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
<parameter>Category</parameter> is a string specifying the
category of the functions affected by the locale setting:
<parameter>Category</parameter> is a named constant (or string)
specifying the category of the functions affected by the locale setting:
<itemizedlist>
<listitem>
<simpara>
LC_ALL for all of the below
LC_ALL for all of the below
</simpara>
</listitem>
<listitem>
<simpara>
LC_COLLATE for string comparison, see <function>strcoll</function>
LC_COLLATE for string comparison, see <function>strcoll</function>
</simpara>
</listitem>
<listitem>
<simpara>
LC_CTYPE for character classification and conversion, for
example <function>strtoupper</function>
LC_CTYPE for character classification and conversion, for
example <function>strtoupper</function>
</simpara>
</listitem>
<listitem>
<simpara>
LC_MONETARY for <function>localeconv</function>
LC_MONETARY for <function>localeconv</function>
</simpara>
</listitem>
<listitem>
<simpara>
LC_NUMERIC for decimal separator (See also: <function>localeconv</function>)
LC_NUMERIC for decimal separator (See also: <function>localeconv</function>)
</simpara>
</listitem>
<listitem>
<simpara>
LC_TIME for date and time formatting with
<function>strftime</function>
LC_TIME for date and time formatting with <function>strftime</function>
</simpara>
</listitem>
</itemizedlist>