Searched refs:PhpToken (Results 1 – 14 of 14) sorted by relevance
/PHP-8.4/ext/tokenizer/tests/ |
H A D | PhpToken_tokenize.phpt | 2 PhpToken::tokenize() method 21 object(PhpToken)#1 (4) { 33 object(PhpToken)#2 (4) { 44 object(PhpToken)#3 (4) { 55 object(PhpToken)#4 (4) { 66 object(PhpToken)#5 (4) { 77 object(PhpToken)#6 (4) { 88 object(PhpToken)#7 (4) { 99 object(PhpToken)#8 (4) { 110 object(PhpToken)#9 (4) { [all …]
|
H A D | PhpToken_constructor.phpt | 2 PhpToken constructor 8 $token = new PhpToken(300, 'function'); 10 $token = new PhpToken(300, 'function', 10); 12 $token = new PhpToken(300, 'function', 10, 100); 17 object(PhpToken)#1 (4) { 27 object(PhpToken)#2 (4) { 37 object(PhpToken)#1 (4) {
|
H A D | PhpToken_methods.phpt | 2 PhpToken instance methods 18 $tokens = PhpToken::tokenize($code); 75 $token = new PhpToken(100000, "foo"); 113 PhpToken::is(): Argument #1 ($kind) must be of type string|int|array, float given 114 PhpToken::is(): Argument #1 ($kind) must only have elements of type string|int, float given 115 Typed property PhpToken::$id must not be accessed before initialization 116 Typed property PhpToken::$text must not be accessed before initialization 117 Typed property PhpToken::$id must not be accessed before initialization 118 Typed property PhpToken::$text must not be accessed before initialization
|
H A D | PhpToken_final_constructor.phpt | 2 Check that the PhpToken constructor is final 8 class MyPhpToken extends PhpToken { 15 Fatal error: Cannot override final method PhpToken::__construct() in %s on line %d
|
H A D | PhpToken_extension_errors.phpt | 2 PhpToken extensions that throw during construction 8 class MyPhpToken1 extends PhpToken { 18 abstract class MyPhpToken2 extends PhpToken {
|
H A D | PhpToken_toString.phpt | 2 PhpToken implements __toString() 8 $tokens = PhpToken::tokenize('<?php echo "Hello ". $what;');
|
H A D | PhpToken_extension.phpt | 2 Extending the PhpToken class 15 class MyPhpToken extends PhpToken {
|
H A D | bug80462.phpt | 8 foreach (PhpToken::tokenize('<?php $foo = $a?->b();', TOKEN_PARSE) as $token) {
|
H A D | bug81342.phpt | 8 $tokens = PhpToken::tokenize('<?php $x & $x; $x &
|
H A D | namespaced_names.phpt | 17 foreach (PhpToken::tokenize($code) as $token) {
|
H A D | bug77966.phpt | 17 $tokens = PhpToken::tokenize($code, TOKEN_PARSE);
|
/PHP-8.4/ext/tokenizer/ |
H A D | tokenizer_arginfo.h | 37 ZEND_METHOD(PhpToken, tokenize); 38 ZEND_METHOD(PhpToken, __construct); 39 ZEND_METHOD(PhpToken, is); 40 ZEND_METHOD(PhpToken, isIgnorable); 41 ZEND_METHOD(PhpToken, getTokenName); 42 ZEND_METHOD(PhpToken, __toString); 51 ZEND_ME(PhpToken, tokenize, arginfo_class_PhpToken_tokenize, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 53 ZEND_ME(PhpToken, is, arginfo_class_PhpToken_is, ZEND_ACC_PUBLIC) 54 ZEND_ME(PhpToken, isIgnorable, arginfo_class_PhpToken_isIgnorable, ZEND_ACC_PUBLIC) 55 ZEND_ME(PhpToken, getTokenName, arginfo_class_PhpToken_getTokenName, ZEND_ACC_PUBLIC) [all …]
|
H A D | tokenizer.stub.php | 15 class PhpToken implements Stringable class
|
H A D | tokenizer.c | 90 PHP_METHOD(PhpToken, tokenize) in PHP_METHOD() argument 118 PHP_METHOD(PhpToken, __construct) in PHP_METHOD() argument 141 PHP_METHOD(PhpToken, is) in PHP_METHOD() argument 200 PHP_METHOD(PhpToken, isIgnorable) in PHP_METHOD() argument 213 PHP_METHOD(PhpToken, getTokenName) in PHP_METHOD() argument 234 PHP_METHOD(PhpToken, __toString) in PHP_METHOD() argument
|
Completed in 13 milliseconds