From 81ba6ffec0dd0c2075ed2512ca79f426a50baedd Mon Sep 17 00:00:00 2001 From: Stefan Walk Date: Sat, 17 Jan 2004 14:20:11 +0000 Subject: [PATCH] Fix Bug #26940 (strncmp using the length of the shorter string) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@149028 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/strncasecmp.xml | 7 ++----- reference/strings/functions/strncmp.xml | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/reference/strings/functions/strncasecmp.xml b/reference/strings/functions/strncasecmp.xml index 42a3da7c03..6b5490256e 100644 --- a/reference/strings/functions/strncasecmp.xml +++ b/reference/strings/functions/strncasecmp.xml @@ -1,5 +1,5 @@ - + @@ -21,10 +21,7 @@ This function is similar to strcasecmp, with the difference that you can specify the (upper limit of the) number of characters (len) from each - string to be used in the comparison. If any of the strings is - shorter than len, then the length of that - string will be used for the comparison. - + string to be used in the comparison. Returns < 0 if str1 is less than str2; > 0 if str1 diff --git a/reference/strings/functions/strncmp.xml b/reference/strings/functions/strncmp.xml index ebacdde422..f61de0fb86 100644 --- a/reference/strings/functions/strncmp.xml +++ b/reference/strings/functions/strncmp.xml @@ -1,5 +1,5 @@ - + @@ -20,10 +20,7 @@ This function is similar to strcmp, with the difference that you can specify the (upper limit of the) number of characters (len) from each string to be - used in the comparison. If any of the strings is shorter than - len, then the length of that string will - be used for the comparison. - + used in the comparison. Returns < 0 if str1 is less than str2; > 0 if str1