Searched refs:strtok (Results 1 – 18 of 18) sorted by relevance
/PHP-5.3/ext/standard/tests/strings/ |
H A D | strtok_variation2.phpt | 5 /* Prototype : string strtok ( str $str, str $token ) 11 * Testing strtok() : with different token strings 16 $str = 'this testcase test strtok() function '; 92 var_dump( strtok($str, $token) ); 111 string(37) "this testcase test strtok() function " 113 string(37) "this testcase test strtok() function " 115 string(37) "this testcase test strtok() function " 117 string(37) "this testcase test strtok() function " 119 string(37) "this testcase test strtok() function " 121 string(37) "this testcase test strtok() function " [all …]
|
H A D | strtok_error.phpt | 2 Test strtok() function : error conditions 5 /* Prototype : string strtok ( string $str, string $token ) 11 * Testing strtok() for error conditions 14 echo "*** Testing strtok() : error conditions ***\n"; 17 echo "\n-- Testing strtok() function with Zero arguments --\n"; 18 var_dump( strtok() ); 26 var_dump( strtok($str, $token, $extra_arg) ); 33 var_dump( strtok($str)); 39 *** Testing strtok() : error conditions *** 41 -- Testing strtok() function with Zero arguments -- [all …]
|
H A D | strtok_basic.phpt | 2 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 D | strtok_variation1.phpt | 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() 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 [all …]
|
H A D | strtok_variation7.phpt | 2 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 D | strtok_variation4.phpt | 2 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 D | strtok_variation3.phpt | 2 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 D | strtok_variation5.phpt | 2 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 D | strtok_variation6.phpt | 2 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-5.3/tests/strings/ |
H A D | 001.phpt | 8 echo "Testing strtok: "; 11 $tok1 = strtok($str, " "); 12 $tok2 = strtok("/"); 13 $tok3 = strtok("\\"); 14 $tok4 = strtok("."); 195 Testing strtok: passed
|
/PHP-5.3/win32/ |
H A D | sendmail.c | 436 token = strtok(tempMailTo, ","); in SendText() 450 token = strtok(NULL, ","); in SendText() 457 token = strtok(tempMailTo, ","); in SendText() 471 token = strtok(NULL, ","); in SendText() 487 token = strtok(tempMailTo, ","); in SendText() 501 token = strtok(NULL, ","); in SendText() 512 token = strtok(tempMailTo, ","); in SendText() 526 token = strtok(NULL, ","); in SendText() 545 token = strtok(tempMailTo, ","); in SendText() 559 token = strtok(NULL, ","); in SendText()
|
/PHP-5.3/TSRM/ |
H A D | tsrm_nw.c | 47 #define tsrm_strtok_r(a,b,c) strtok((a),(b))
|
/PHP-5.3/ext/standard/ |
H A D | php_string.h | 41 PHP_FUNCTION(strtok);
|
H A D | string.c | 1189 PHP_FUNCTION(strtok) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 2725 PHP_FE(strtok, arginfo_strtok)
|
/PHP-5.3/ext/gd/libgd/ |
H A D | gdft.c | 391 for (dir = strtok (path, PATHSEPARATOR); dir; dir = strtok (0, PATHSEPARATOR)) {
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 1012 while (strtok(limit_extensions, " \t")) { in fpm_conf_process_all_pools() 1034 while ((ext = strtok(limit_extensions, " \t"))) { in fpm_conf_process_all_pools()
|
/PHP-5.3/ext/phar/ |
H A D | phar_object.c | 2169 spprintf(&newname, 0, "%s.%s", strtok(basename, "."), ext);
|
Completed in 61 milliseconds