Searched refs:strtok (Results 1 – 15 of 15) sorted by relevance
/php-src/ext/standard/tests/strings/ |
H A D | strtok_basic.phpt | 2 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 D | strtok_variation4.phpt | 2 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 *** 45 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 48 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 51 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d [all …]
|
H A D | strtok_variation5.phpt | 2 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 *** 69 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 72 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 75 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d [all …]
|
H A D | strtok_variation3.phpt | 2 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 *** 84 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 87 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 90 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d [all …]
|
H A D | strtok_variation7.phpt | 2 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 D | strtok_variation6.phpt | 2 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 *** 73 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 97 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d 104 Warning: strtok(): Both arguments must be provided when starting tokenization in %s on line %d [all …]
|
/php-src/Zend/tests/ |
H A D | gh13145.phpt | 2 GH-13145: strtok() misoptimization 5 $tok = strtok("This is\tan example\nstring", " \n\t"); 8 $tok = strtok(" \n\t");
|
/php-src/tests/strings/ |
H A D | 001.phpt | 6 echo "Testing strtok: "; 9 $tok1 = strtok($str, " "); 10 $tok2 = strtok("/"); 11 $tok3 = strtok("\\"); 12 $tok4 = strtok("."); 207 Testing strtok: passed
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_print.c | 351 char *method_name, *class_name = strtok(function_lowercase, "::"); in phpdbg_print_opcodes() 352 if ((method_name = strtok(NULL, "::")) == NULL) { in phpdbg_print_opcodes()
|
H A D | phpdbg_prompt.c | 293 char *str = strtok(buffer, "\n"); in phpdbg_string_init() 298 str = strtok(NULL, "\n"); in phpdbg_string_init()
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_oracle_nulls.phpt | 44 if ((int)strtok($row['_version'], '.') >= 5)
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 1166 while (strtok(limit_extensions, " \t")) { in fpm_conf_process_all_pools() 1188 while ((ext = strtok(limit_extensions, " \t"))) { in fpm_conf_process_all_pools()
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 2360 function strtok(string $string, ?string $token = null): string|false {}
|
H A D | basic_functions_arginfo.h | 2526 ZEND_FUNCTION(strtok); 3126 ZEND_FE(strtok, arginfo_strtok)
|
H A D | string.c | 1133 PHP_FUNCTION(strtok) in PHP_FUNCTION() argument
|
Completed in 71 milliseconds