Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/tests/strings/
H A Dstrtok_basic.phpt2 Test strtok() function : basic functionality
5 /* Prototype : string strtok ( str $str, str $token )
11 * Testing strtok() : basic functionality
14 echo "*** Testing strtok() : basic functionality ***\n";
17 $str = 'This testcase test strtok() function.';
23 // using strtok() with $str argument
25 var_dump( strtok($str, $token) );
29 var_dump( strtok($token) );
35 *** Testing strtok() : basic functionality ***
38 "This testcase test strtok() function."
[all …]
H A Dstrtok_variation7.phpt2 Test strtok() function : usage variations - modifying the input string while tokenising
5 /* Prototype : string strtok ( str $str, str $token )
11 * Testing strtok() : modifying the input string while it is getting tokenised
14 echo "*** Testing strtok() : with modification of input string in between tokenising ***\n";
20 var_dump( strtok($str, $token) );
25 var_dump( strtok($token) );
30 var_dump( strtok($str, $token) );
35 var_dump( strtok($token) );
41 *** Testing strtok() : with modification of input string in between tokenising ***
43 *** 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
5 /* Prototype : string strtok ( str $str, str $token )
11 * Testing strtok() : with embedded nulls in the strings
14 echo "*** Testing strtok() : with embedded nulls in the strings ***\n";
28 // loop through each element of the array and check the working of strtok()
34 var_dump( strtok($string, "\0") );
36 var_dump( strtok("\0") );
45 *** Testing strtok() : with embedded nulls in the strings ***
H A Dstrtok_variation5.phpt2 Test strtok() function : usage variations - miscellaneous inputs
5 /* Prototype : string strtok ( str $str, str $token )
11 * Testing strtok() : with miscellaneous combinations of string and token
14 echo "*** Testing strtok() : with miscellaneous inputs ***\n";
44 // loop through each element of the array and check the working of strtok()
50 var_dump( strtok($string, $token_array[$counter-1]) );
52 var_dump( strtok($token_array[$counter-1]) );
61 *** Testing strtok() : with miscellaneous inputs ***
H A Dstrtok_variation3.phpt2 Test strtok() function : usage variations - with heredoc strings
5 /* Prototype : string strtok ( str $str, str $token )
11 * Testing strtok() : with heredoc strings
14 echo "*** Testing strtok() : with heredoc strings ***\n";
54 // loop through each element of the array and check the working of strtok()
60 var_dump( strtok($string, "5o\0\n\t") );
62 var_dump( strtok("5o\0\n\t") );
71 *** Testing strtok() : with heredoc strings ***
H A Dstrtok_variation6.phpt2 Test strtok() function : usage variations - invalid escape sequences as tokens
5 /* Prototype : string strtok ( str $str, str $token )
11 * Testing strtok() : with invalid escape sequences in token
14 echo "*** Testing strtok() : with invalid escape sequences in token ***\n";
31 // loop through each element of the array and check the working of strtok()
38 var_dump( strtok($string, $token) );
40 var_dump( strtok($token) );
51 *** Testing strtok() : with invalid escape sequences in token ***
/PHP-7.4/tests/strings/
H A D001.phpt8 echo "Testing strtok: ";
11 $tok1 = strtok($str, " ");
12 $tok2 = strtok("/");
13 $tok3 = strtok("\\");
14 $tok4 = strtok(".");
209 Testing strtok: passed
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_print.c411 char *method_name, *class_name = strtok(function, "::"); in phpdbg_print_opcodes()
412 if ((method_name = strtok(NULL, "::")) == NULL) { in phpdbg_print_opcodes()
H A Dphpdbg_prompt.c302 char *str = strtok(buffer, "\n"); in phpdbg_string_init()
307 str = strtok(NULL, "\n"); in phpdbg_string_init()
/PHP-7.4/ext/standard/
H A Dphp_string.h37 PHP_FUNCTION(strtok);
H A Dbasic_functions.c2778 PHP_FE(strtok, arginfo_strtok)
H A Dstring.c1315 PHP_FUNCTION(strtok) in PHP_FUNCTION() argument
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_conf.c1065 while (strtok(limit_extensions, " \t")) { in fpm_conf_process_all_pools()
1087 while ((ext = strtok(limit_extensions, " \t"))) { in fpm_conf_process_all_pools()

Completed in 47 milliseconds