et              Sat Jan 17 09:20:11 2004 EDT

  Modified files:              
    /phpdoc/en/reference/strings/functions      strncmp.xml strncasecmp.xml 
  Log:
  Fix Bug #26940 (strncmp using the length of the shorter string)
  
Index: phpdoc/en/reference/strings/functions/strncmp.xml
diff -u phpdoc/en/reference/strings/functions/strncmp.xml:1.2 
phpdoc/en/reference/strings/functions/strncmp.xml:1.3
--- phpdoc/en/reference/strings/functions/strncmp.xml:1.2       Wed Apr 17 02:44:23 
2002
+++ phpdoc/en/reference/strings/functions/strncmp.xml   Sat Jan 17 09:20:11 2004
@@ -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.38 -->
   <refentry id="function.strncmp">
    <refnamediv>
@@ -20,10 +20,7 @@
      This function is similar to <function>strcmp</function>, with the
      difference that you can specify the (upper limit of the) number
      of characters (<parameter>len</parameter>) from each string to be
-     used in the comparison. If any of the strings is shorter than
-     <parameter>len</parameter>, then the length of that string will
-     be used for the comparison.
-    </para>
+     used in the comparison.</para>
     <simpara>
      Returns &lt; 0 if <parameter>str1</parameter> is less than
      <parameter>str2</parameter>; &gt; 0 if <parameter>str1</parameter>
Index: phpdoc/en/reference/strings/functions/strncasecmp.xml
diff -u phpdoc/en/reference/strings/functions/strncasecmp.xml:1.2 
phpdoc/en/reference/strings/functions/strncasecmp.xml:1.3
--- phpdoc/en/reference/strings/functions/strncasecmp.xml:1.2   Wed Apr 17 02:44:23 
2002
+++ phpdoc/en/reference/strings/functions/strncasecmp.xml       Sat Jan 17 09:20:11 
2004
@@ -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.66 -->
   <refentry id="function.strncasecmp">
    <refnamediv>
@@ -21,10 +21,7 @@
      This function is similar to <function>strcasecmp</function>, with
      the difference that you can specify the (upper limit of the)
      number of characters (<parameter>len</parameter>) from each
-     string to be used in the comparison. If any of the strings is
-     shorter than <parameter>len</parameter>, then the length of that
-     string will be used for the comparison.
-    </para>
+     string to be used in the comparison. </para>
     <simpara> 
      Returns &lt; 0 if <parameter>str1</parameter> is less than
      <parameter>str2</parameter>; &gt; 0 if <parameter>str1</parameter>

Reply via email to