Home
last modified time | relevance | path

Searched refs:tokenize (Results 1 – 12 of 12) sorted by relevance

/PHP-8.1/ext/tokenizer/tests/
H A Dbug80462.phpt2 Bug #80462: Nullsafe operator tokenize with TOKEN_PARSE flag fails
8 foreach (PhpToken::tokenize('<?php $foo = $a?->b();', TOKEN_PARSE) as $token) {
H A DPhpToken_extension_errors.phpt13 var_dump(MyPhpToken1::tokenize("<?php foo"));
22 var_dump(MyPhpToken2::tokenize("<?php foo"));
H A DPhpToken_toString.phpt8 $tokens = PhpToken::tokenize('<?php echo "Hello ". $what;');
H A Dbug81342.phpt8 $tokens = PhpToken::tokenize('<?php $x & $x; $x &
H A DPhpToken_tokenize.phpt2 PhpToken::tokenize() method
14 var_dump(PhpToken::tokenize($code));
15 var_dump(PhpToken::tokenize($code, TOKEN_PARSE));
H A DPhpToken_extension.phpt23 foreach (MyPhpToken::tokenize($code) as $token) {
H A Dnamespaced_names.phpt17 foreach (PhpToken::tokenize($code) as $token) {
H A Dbug77966.phpt17 $tokens = PhpToken::tokenize($code, TOKEN_PARSE);
H A DPhpToken_methods.phpt18 $tokens = PhpToken::tokenize($code);
/PHP-8.1/ext/tokenizer/
H A Dtokenizer.stub.php17 public static function tokenize(string $code, int $flags = 0): array {} function in PhpToken
H A Dtokenizer_arginfo.h38 ZEND_METHOD(PhpToken, tokenize);
54 ZEND_ME(PhpToken, tokenize, arginfo_class_PhpToken_tokenize, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
H A Dtokenizer.c95 PHP_METHOD(PhpToken, tokenize) in PHP_METHOD() argument
326 static bool tokenize(zval *return_value, zend_string *source, zend_class_entry *token_class) in tokenize() function
510 int success = tokenize(return_value, source, token_class); in tokenize_common()

Completed in 17 milliseconds