cvs: /phpdoc/functions strings.sgml

From: Date: Thu, 02 Sep 1999 14:09:17 +0000
Subject: cvs: /phpdoc/functions strings.sgml
Groups: php.dev 
Request: Send a blank email to php-dev+get-10446@lists.php.net to get a copy of this message
coar Thu Sep 2 10:09:17 1999 EDT Modified files: /phpdoc/functions strings.sgml Log: Add missing documentation for strcasecmp(). I'd like to add some remarks about NLS comparisons (e.g., how e collates relative to &eacute;, et cetera), but that's going to require some more research. Probably a pointer to setlocale() with some enhanced docco there.. Index: phpdoc/functions/strings.sgml diff -u phpdoc/functions/strings.sgml:1.8 phpdoc/functions/strings.sgml:1.9 --- phpdoc/functions/strings.sgml:1.8 Sat Jul 31 20:41:13 1999 +++ phpdoc/functions/strings.sgml Thu Sep 2 10:09:16 1999 @@ -1048,6 +1048,31 @@ </refsect1> </refentry> + <refentry id="function.strcasecmp"> + <refnamediv> + <refname>strcasecmp</refname> + <refpurpose>binary safe case-insensitive string comparison</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcdef>int <function>strcasecmp</function></funcdef> + <paramdef>string <parameter>str1</parameter></paramdef> + <paramdef>string <parameter>str2</parameter></paramdef> + </funcsynopsis> + <simpara> + Returns < 0 if <parameter>str1</parameter> is less than + <parameter>str2</parameter>; > 0 if <parameter>str1</parameter> + is greater than <parameter>str2</parameter>, and 0 if they are + equal. + + <simpara> + See also <function>ereg</function>, <function>strcmp</function>, + <function>substr</function>, and <function>strstr</function>. + + </refsect1> + </refentry> + <refentry id="function.strchr"> <refnamediv> <refname>strchr</refname> @@ -1090,8 +1115,8 @@ Note that this comparison is case sensitive. <simpara> - See also <function>ereg</function>, <function>substr</function>, - and <function>strstr</function>. + See also <function>ereg</function>, <function>strcasecmp</function>, + <function>substr</function>, and <function>strstr</function>. </refsect1> </refentry>

« previous php.dev (#10446) next »