sniper Sat Mar 10 10:51:47 2001 EDT
Modified files:
/phpdoc/en/functions strings.xml
Log:
Setlocale uses constants now. +ws fix
Index: phpdoc/en/functions/strings.xml
diff -u phpdoc/en/functions/strings.xml:1.77 phpdoc/en/functions/strings.xml:1.78
--- phpdoc/en/functions/strings.xml:1.77 Sat Feb 24 19:05:49 2001
+++ phpdoc/en/functions/strings.xml Sat Mar 10 10:51:47 2001
@@ -1630,44 +1630,43 @@
<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>