Home
last modified time | relevance | path

Searched refs:PhpToken (Results 1 – 14 of 14) sorted by relevance

/PHP-8.1/ext/tokenizer/tests/
H A DPhpToken_tokenize.phpt2 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 DPhpToken_constructor.phpt2 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 DPhpToken_methods.phpt2 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 DPhpToken_final_constructor.phpt2 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 DPhpToken_extension_errors.phpt2 PhpToken extensions that throw during construction
8 class MyPhpToken1 extends PhpToken {
18 abstract class MyPhpToken2 extends PhpToken {
H A DPhpToken_toString.phpt2 PhpToken implements __toString()
8 $tokens = PhpToken::tokenize('<?php echo "Hello ". $what;');
H A DPhpToken_extension.phpt2 Extending the PhpToken class
15 class MyPhpToken extends PhpToken {
H A Dbug80462.phpt8 foreach (PhpToken::tokenize('<?php $foo = $a?->b();', TOKEN_PARSE) as $token) {
H A Dbug81342.phpt8 $tokens = PhpToken::tokenize('<?php $x & $x; $x &
H A Dnamespaced_names.phpt17 foreach (PhpToken::tokenize($code) as $token) {
H A Dbug77966.phpt17 $tokens = PhpToken::tokenize($code, TOKEN_PARSE);
/PHP-8.1/ext/tokenizer/
H A Dtokenizer_arginfo.h38 ZEND_METHOD(PhpToken, tokenize);
39 ZEND_METHOD(PhpToken, __construct);
40 ZEND_METHOD(PhpToken, is);
41 ZEND_METHOD(PhpToken, isIgnorable);
42 ZEND_METHOD(PhpToken, getTokenName);
43 ZEND_METHOD(PhpToken, __toString);
54 ZEND_ME(PhpToken, tokenize, arginfo_class_PhpToken_tokenize, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
56 ZEND_ME(PhpToken, is, arginfo_class_PhpToken_is, ZEND_ACC_PUBLIC)
57 ZEND_ME(PhpToken, isIgnorable, arginfo_class_PhpToken_isIgnorable, ZEND_ACC_PUBLIC)
58 ZEND_ME(PhpToken, getTokenName, arginfo_class_PhpToken_getTokenName, ZEND_ACC_PUBLIC)
[all …]
H A Dtokenizer.stub.php9 class PhpToken implements Stringable class
H A Dtokenizer.c95 PHP_METHOD(PhpToken, tokenize) in PHP_METHOD() argument
123 PHP_METHOD(PhpToken, __construct) in PHP_METHOD() argument
146 PHP_METHOD(PhpToken, is) in PHP_METHOD() argument
205 PHP_METHOD(PhpToken, isIgnorable) in PHP_METHOD() argument
218 PHP_METHOD(PhpToken, getTokenName) in PHP_METHOD() argument
239 PHP_METHOD(PhpToken, __toString) in PHP_METHOD() argument

Completed in 15 milliseconds