Home
last modified time | relevance | path

Searched refs:strtok (Results 1 – 14 of 14) sorted by relevance

/PHP-8.1/ext/standard/tests/strings/
H A Dstrtok_basic.phpt2 Test strtok() function : basic functionality
6 * Testing strtok() : basic functionality
9 echo "*** Testing strtok() : basic functionality ***\n";
12 $str = 'This testcase test strtok() function.';
18 // using strtok() with $str argument
20 var_dump( strtok($str, $token) );
24 var_dump( strtok($token) );
30 *** Testing strtok() : basic functionality ***
33 "This testcase test strtok() function."
48 string(6) "strtok"
H A Dstrtok_variation7.phpt2 Test strtok() function : usage variations - modifying the input string while tokenising
6 * Testing strtok() : modifying the input string while it is getting tokenised
9 echo "*** Testing strtok() : with modification of input string in between tokenising ***\n";
14 echo "\n*** Testing strtok() when string being tokenised is prefixed with another string in between…
15 var_dump( strtok($str, $token) );
20 var_dump( strtok($token) );
25 var_dump( strtok($str, $token) );
30 var_dump( strtok($token) );
36 *** Testing strtok() : with modification of input string in between tokenising ***
38 *** Testing strtok() when string being tokenised is prefixed with another string in between the pro…
[all …]
H A Dstrtok_variation4.phpt2 Test strtok() function : usage variations - with embedded nulls in the strings
6 * Testing strtok() : with embedded nulls in the strings
9 echo "*** Testing strtok() : with embedded nulls in the strings ***\n";
23 // loop through each element of the array and check the working of strtok()
29 var_dump( strtok($string, "\0") );
31 var_dump( strtok("\0") );
40 *** Testing strtok() : with embedded nulls in the strings ***
H A Dstrtok_variation3.phpt2 Test strtok() function : usage variations - with heredoc strings
6 * Testing strtok() : with heredoc strings
9 echo "*** Testing strtok() : with heredoc strings ***\n";
49 // loop through each element of the array and check the working of strtok()
55 var_dump( strtok($string, "5o\0\n\t") );
57 var_dump( strtok("5o\0\n\t") );
66 *** Testing strtok() : with heredoc strings ***
H A Dstrtok_variation5.phpt2 Test strtok() function : usage variations - miscellaneous inputs
6 * Testing strtok() : with miscellaneous combinations of string and token
9 echo "*** Testing strtok() : with miscellaneous inputs ***\n";
39 // loop through each element of the array and check the working of strtok()
45 var_dump( strtok($string, $token_array[$counter-1]) );
47 var_dump( strtok($token_array[$counter-1]) );
56 *** Testing strtok() : with miscellaneous inputs ***
H A Dstrtok_variation6.phpt2 Test strtok() function : usage variations - invalid escape sequences as tokens
6 * Testing strtok() : with invalid escape sequences in token
9 echo "*** Testing strtok() : with invalid escape sequences in token ***\n";
26 // loop through each element of the array and check the working of strtok()
33 var_dump( strtok($string, $token) );
35 var_dump( strtok($token) );
46 *** Testing strtok() : with invalid escape sequences in token ***
/PHP-8.1/tests/strings/
H A D001.phpt6 echo "Testing strtok: ";
9 $tok1 = strtok($str, " ");
10 $tok2 = strtok("/");
11 $tok3 = strtok("\\");
12 $tok4 = strtok(".");
207 Testing strtok: passed
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_print.c353 char *method_name, *class_name = strtok(function_lowercase, "::"); in phpdbg_print_opcodes()
354 if ((method_name = strtok(NULL, "::")) == NULL) { in phpdbg_print_opcodes()
H A Dphpdbg_prompt.c294 char *str = strtok(buffer, "\n"); in phpdbg_string_init()
299 str = strtok(NULL, "\n"); in phpdbg_string_init()
/PHP-8.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_oracle_nulls.phpt43 if ((int)strtok($row['_version'], '.') >= 5)
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_conf.c1122 while (strtok(limit_extensions, " \t")) { in fpm_conf_process_all_pools()
1144 while ((ext = strtok(limit_extensions, " \t"))) { in fpm_conf_process_all_pools()
/PHP-8.1/ext/standard/
H A Dbasic_functions.stub.php752 function strtok(string $string, ?string $token = null): string|false {} function
H A Dbasic_functions_arginfo.h2470 ZEND_FUNCTION(strtok);
3109 ZEND_FE(strtok, arginfo_strtok)
H A Dstring.c1261 PHP_FUNCTION(strtok) in PHP_FUNCTION() argument

Completed in 57 milliseconds