Lines Matching refs:strtok
2 Test strtok() function : usage variations - first argument as non-string
5 /* Prototype : string strtok ( string $str, string $token )
11 * Testing strtok() : with first argument as non-string
14 echo "*** Testing strtok() : with first argument as non-string ***\n";
83 // loop through each element of the array and check the working of strtok()
86 echo "\n--- Testing strtok() by supplying different values for 'str' argument ---\n";
92 var_dump( strtok($str, $token) );
103 *** Testing strtok() : with first argument as non-string ***
109 --- Testing strtok() by supplying different values for 'str' argument ---
130 Warning: strtok() expects parameter 1 to be string, array given in %s on line %d
134 Warning: strtok() expects parameter 1 to be string, array given in %s on line %d
138 Warning: strtok() expects parameter 1 to be string, array given in %s on line %d
142 Warning: strtok() expects parameter 1 to be string, array given in %s on line %d
146 Warning: strtok() expects parameter 1 to be string, array given in %s on line %d
172 Warning: strtok() expects parameter 1 to be string, resource given in %s on line %d