Lines Matching refs:strncmp
2 Test strncmp() function : usage variations - different lengths(all types)
7 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
12 /* Test strncmp() function with the length as all types, and giving the same strings for 'str1' and…
14 echo "*** Test strncmp() function: by supplying all types for 'len' ***\n";
89 /* loop through each element of the array and check the working of strncmp() */
94 var_dump( strncmp($str1, $str2, $len) );
102 *** Test strncmp() function: by supplying all types for 'len' ***
129 Warning: strncmp() expects parameter 3 to be integer, array given in%s on line %d
133 Warning: strncmp() expects parameter 3 to be integer, array given in%s on line %d
137 Warning: strncmp() expects parameter 3 to be integer, array given in%s on line %d
141 Warning: strncmp() expects parameter 3 to be integer, array given in%s on line %d
145 Warning: strncmp() expects parameter 3 to be integer, array given in%s on line %d
161 Warning: strncmp() expects parameter 3 to be integer, string given in%s on line %d
165 Warning: strncmp() expects parameter 3 to be integer, string given in%s on line %d
173 Warning: strncmp() expects parameter 3 to be integer, resource given in%s on line %d
177 Warning: strncmp() expects parameter 3 to be integer, object given in%s on line %d