Lines Matching refs:strncasecmp
2 Test strncasecmp() function : usage variations - unexpected values for 'str1' & 'str2'
5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
10 /* Test strncasecmp() function with the unexpected inputs for 'str1' and 'str2' */
12 echo "*** Testing strncasecmp() function: with unexpected values for 'str1' and 'str2' ***\n";
86 /* loop through each element of the array and check the working of strncasecmp() */
93 var_dump( strncasecmp($str1, $str2, $len) );
102 *** Testing strncasecmp() function: with unexpected values for 'str1' and 'str2' ***
135 Warning: strncasecmp() expects parameter 1 to be string, array given in %s on line %d
141 Warning: strncasecmp() expects parameter 1 to be string, array given in %s on line %d
147 Warning: strncasecmp() expects parameter 1 to be string, array given in %s on line %d
153 Warning: strncasecmp() expects parameter 1 to be string, array given in %s on line %d
159 Warning: strncasecmp() expects parameter 1 to be string, array given in %s on line %d
185 Warning: strncasecmp() expects parameter 1 to be string, resource given in %s on line %d