cvs: phpdoc /en/reference/strings/functions strcasecmp.xml

From: Date: Fri, 09 May 2003 09:22:55 +0000
Subject: cvs: phpdoc /en/reference/strings/functions strcasecmp.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353295@lists.php.net to get a copy of this message
didou Fri May 9 05:22:55 2003 EDT Modified files: /phpdoc/en/reference/strings/functions strcasecmp.xml Log: better test Index: phpdoc/en/reference/strings/functions/strcasecmp.xml diff -u phpdoc/en/reference/strings/functions/strcasecmp.xml:1.2 phpdoc/en/reference/strings/functions/strcasecmp.xml:1.3 --- phpdoc/en/reference/strings/functions/strcasecmp.xml:1.2 Wed Apr 17 02:44:22 2002 +++ phpdoc/en/reference/strings/functions/strcasecmp.xml Fri May 9 05:22:55 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.strcasecmp"> <refnamediv> @@ -26,7 +26,7 @@ <![CDATA[ $var1 = "Hello"; $var2 = "hello"; -if (!strcasecmp($var1, $var2)) { +if (strcasecmp($var1, $var2) == 0) { echo '$var1 is equal to $var2 in a case-insensitive string comparison'; } ]]>

« previous php.doc (#969353295) next »