Searched refs:token_name (Results 1 – 17 of 17) sorted by relevance
/PHP-8.0/ext/tokenizer/tests/ |
H A D | 001.phpt | 2 token_name() 9 echo token_name(T_INCLUDE), "\n"; 11 echo token_name(T_EVAL), "\n"; 12 echo token_name(T_REQUIRE), "\n"; 17 echo token_name(T_PRINT), "\n"; 37 echo token_name(T_SL), "\n"; 38 echo token_name(T_SR), "\n"; 39 echo token_name(T_INC), "\n"; 40 echo token_name(T_DEC), "\n"; 50 echo token_name(T_IF), "\n"; [all …]
|
H A D | bug67395.phpt | 2 Bug 67395: token_name() does not return name for T_POW and T_POW_EQUAL token 9 var_dump(token_name($powToken)); 12 var_dump(token_name($powEqualToken));
|
H A D | php_tag_only.phpt | 11 echo token_name($token[0]), "\n"; 15 echo token_name($token[0]), "\n";
|
H A D | php_tag_only_2.phpt | 11 echo token_name($token[0]), "\n"; 15 echo token_name($token[0]), "\n";
|
H A D | invalid_octal_dnumber.phpt | 7 echo token_name(token_get_all('<?php 0177777777777777777777787')[1][0]), "\n";
|
H A D | attributes.phpt | 9 var_dump(token_name(T_ATTRIBUTE));
|
H A D | bad_character.phpt | 17 echo token_name($token[0]), " ", strlen($token[1]), "\n";
|
H A D | bug76437.phpt | 15 echo token_name($open_tag1[0]), ": \"$open_tag1[1]\" on line $open_tag1[2]\n";
|
H A D | bug76991.phpt | 20 echo token_name($token[0]) . ": " .str_replace("\n", '\n', $token[1]);
|
H A D | parse_errors.phpt | 17 echo token_name($token[0]), " ($token[1])\n";
|
H A D | token_get_all_TOKEN_PARSE_002.phpt | 17 if(($t = token_name($tk[0])) == 'T_WHITESPACE') return;
|
H A D | token_get_all_TOKEN_PARSE_001.phpt | 24 if(($t = token_name($tk[0])) == 'T_WHITESPACE') return;
|
H A D | token_get_all_heredoc_nowdoc.phpt | 14 echo "Line {$token[2]}: ", token_name($token[0]), " ('{$token[1]}')\n";
|
/PHP-8.0/ext/tokenizer/ |
H A D | tokenizer_arginfo.h | 37 ZEND_FUNCTION(token_name); 48 ZEND_FE(token_name, arginfo_token_name)
|
H A D | php_tokenizer.h | 38 PHP_FUNCTION(token_name);
|
H A D | tokenizer.c | 230 const char *token_name = get_token_type_name(Z_LVAL_P(id_zval)); in PHP_METHOD() local 231 if (!token_name) { in PHP_METHOD() 235 RETURN_STRING(token_name); in PHP_METHOD() 560 PHP_FUNCTION(token_name) in PHP_FUNCTION() argument 568 const char *token_name = get_token_type_name(type); in PHP_FUNCTION() local 569 if (!token_name) { in PHP_FUNCTION() 570 token_name = "UNKNOWN"; in PHP_FUNCTION() 572 RETURN_STRING(token_name); in PHP_FUNCTION()
|
H A D | tokenizer.stub.php | 7 function token_name(int $id): string {} function
|
Completed in 26 milliseconds