Lines Matching refs:strncmp
2 Test strncmp() function : usage variations - different inputs(all types)
5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
10 /* Test strncmp() function with the input strings are of all types */
12 echo "*** Testing strncmp() function: by supplying all types for 'str1' and 'str2' ***\n";
86 /* loop through each element of the array and check the working of strncmp() */
93 var_dump( strncmp($str1, $str2, $len) );
101 *** Testing strncmp() function: by supplying all types for 'str1' and 'str2' ***
138 Warning: strncmp() expects parameter 1 to be string, array given in %s on line %d
144 Warning: strncmp() expects parameter 1 to be string, array given in %s on line %d
150 Warning: strncmp() expects parameter 1 to be string, array given in %s on line %d
156 Warning: strncmp() expects parameter 1 to be string, array given in %s on line %d
162 Warning: strncmp() expects parameter 1 to be string, array given in %s on line %d
188 Warning: strncmp() expects parameter 1 to be string, resource given in %s on line %d