/PHP-8.0/ext/tokenizer/tests/ |
H A D | PhpToken_toString.phpt | 6 $tokens = PhpToken::tokenize('<?php echo "Hello ". $what;'); 7 var_dump(implode($tokens)); 9 var_dump($tokens[0] instanceof Stringable); 10 var_dump((string) $tokens[0]); 11 var_dump($tokens[0]->__toString());
|
H A D | attributes.phpt | 2 Attributes are exposed as tokens. 6 $tokens = token_get_all('<?php #[A1(1, 2)] class C1 { }'); 8 $attr = $tokens[1]; 13 $class = $tokens[2];
|
H A D | token_get_all_variation14.phpt | 9 * unknown tokens - T_UNKNOWN(307) 12 echo "*** Testing token_get_all() : with invalid/unknown tokens ***\n"; 14 // with valid php tags and invalid tokens 15 echo "-- with valid PHP tags & invlid tokens --\n"; 25 echo "-- with invlalid PHP open tag & valid tokens --\n"; 30 // with invalid PHP tags and invalid tokens 31 echo "-- with invalid PHP tags and tokens --\n"; 38 *** Testing token_get_all() : with invalid/unknown tokens *** 39 -- with valid PHP tags & invlid tokens -- 243 -- with invlalid PHP open tag & valid tokens -- [all …]
|
H A D | bug77966.phpt | 15 $tokens = PhpToken::tokenize($code, TOKEN_PARSE); 16 foreach ($tokens as $token) {
|
H A D | token_get_all_variation11.phpt | 2 Test token_get_all() function : usage variations - with control structure tokens 19 echo "*** Testing token_get_all() : for control structure tokens ***\n"; 22 echo "-- with if..elseif..else..tokens --\n"; 38 echo "-- with while..., do..while, switch & continue tokens --\n"; 51 echo "-- with for..foreach( as ) tokens --\n"; 63 echo "-- with switch...case tokens --\n"; 74 *** Testing token_get_all() : for control structure tokens *** 75 -- with if..elseif..else..tokens -- 428 -- with while..., do..while, switch & continue tokens -- 650 -- with for..foreach( as ) tokens -- [all …]
|
H A D | token_get_all_TOKEN_PARSE_002.phpt | 7 $tokens = token_get_all('<?php 15 array_walk($tokens, function($tk) {
|
H A D | bug54089.phpt | 16 $tokens = token_get_all($code); 17 var_dump($tokens); 20 foreach ($tokens as $t)
|
H A D | token_get_all_TOKEN_PARSE_001.phpt | 7 $tokens = token_get_all('<?php 22 array_walk($tokens, function($tk) {
|
H A D | PhpToken_methods.phpt | 18 $tokens = PhpToken::tokenize($code); 19 foreach ($tokens as $i => $token) { 25 $token = $tokens[5];
|
H A D | token_get_all_variation10.phpt | 2 Test token_get_all() function : usage variations - with constant tokens 12 * bool const (no tokens specified) - T_UNKNOWN(307) 13 * null const (no tokens specified) - T_UNKNOWN(307)
|
H A D | token_get_all_variation12.phpt | 26 // parsing __CLASS__, __TRAIT__ and __FUNCTION__ tokens 39 // parsing __LINE__ and __METHOD__ tokens
|
H A D | token_get_all_variation17.phpt | 32 $tokens = token_get_all($source); 33 var_dump($tokens);
|
H A D | token_get_all_variation16.phpt | 48 $tokens = token_get_all($source); 49 var_dump($tokens);
|
/PHP-8.0/ext/opcache/tests/jit/ |
H A D | fetch_dim_r_013.phpt | 11 $y = 0; $tokens = []; 13 $tokens[$y] > $tokens[$y][] = $y;
|
/PHP-8.0/Zend/tests/ |
H A D | bug69758.phpt | 5 $tokens = array(); 8 $tokens[$i] = $conditions;
|
H A D | bug76439_2.phpt | 2 Bug #76439: Don't always strip leading whitespace from heredoc T_ENCAPSED_AND_WHITESPACE tokens (er…
|
H A D | bug76439.phpt | 2 Bug #76439: Don't always strip leading whitespace from heredoc T_ENCAPSED_AND_WHITESPACE tokens
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | bug41125.phpt | 91 …nvalid parameter number: number of bound variables does not match number of tokens in %s on line %d 129 …nvalid parameter number: number of bound variables does not match number of tokens in %s on line %d 135 …nvalid parameter number: number of bound variables does not match number of tokens in %s on line %d 145 …nvalid parameter number: number of bound variables does not match number of tokens in %s on line %d 159 …nvalid parameter number: number of bound variables does not match number of tokens in %s on line %d 165 …nvalid parameter number: number of bound variables does not match number of tokens in %s on line %d
|
H A D | bug79132.phpt | 52 SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens 53 SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
|
/PHP-8.0/scripts/dev/ |
H A D | find_tested.php | 211 $tokens = token_get_all($r[1]); 212 $functions = array_filter($tokens, 'filter_functions');
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | strtok_variation6.phpt | 2 Test strtok() function : usage variations - invalid escape sequences as tokens 11 // defining arrays for input strings and tokens
|
/PHP-8.0/ext/pdo_pgsql/tests/ |
H A D | bug70313.phpt | 37 SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
|
/PHP-8.0/ext/tokenizer/ |
H A D | tokenizer.c | 413 zval *tokens; member 455 ctx->tokens, token, (unsigned char *) text, length, line, ctx->token_class, NULL); in on_event() 458 HashTable *tokens_ht = Z_ARRVAL_P(ctx->tokens); in on_event() 472 add_token(ctx->tokens, T_INLINE_HTML, LANG_SCNG(yy_cursor), in on_event() 499 ctx.tokens = &token_stream; in tokenize_parse()
|
/PHP-8.0/ext/filter/ |
H A D | logical_filters.c | 948 int tokens, length, i, offset, exp_separator_set; in php_filter_validate_mac() local 966 tokens = 3; in php_filter_validate_mac() 971 tokens = 6; in php_filter_validate_mac() 976 tokens = 6; in php_filter_validate_mac() 991 for (i = 0; i < tokens; i++) { in php_filter_validate_mac() 994 if (i < tokens - 1 && input[offset + length] != separator) { in php_filter_validate_mac()
|
/PHP-8.0/.github/scripts/windows/ |
H A D | build.bat | 26 for /f "tokens=*" %%a in ('type %PHP_BUILD_CACHE_SDK_DIR%\VERSION') do set GOT_SDK_VER=%%a
|