Home
last modified time | relevance | path

Searched refs:keyword (Results 1 – 3 of 3) sorted by relevance

/PHP-Parser/test/PhpParser/Lexer/
H A DEmulativeTest.php22 public function testReplaceKeywords(string $keyword, int $expectedToken): void { argument
24 $code = '<?php ' . $keyword;
27 new Token($expectedToken, $keyword, 1, 6),
37 $code = '<?php ' . strtoupper($keyword);
41 new Token($expectedToken, \strtoupper($keyword), 1, 6),
51 $code = '<?php ->' . $keyword;
56 new Token(\T_STRING, $keyword, 1, 8),
66 $code = '<?php -> ' . $keyword;
72 new Token(\T_STRING, $keyword, 1, 12),
82 $code = '<?php ?->' . $keyword;
[all …]
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown174 reserved keyword. Many node class names in this library have a trailing `_` to avoid clashing with
175 a keyword.
204 `_` for reserved-keyword class names.
/PHP-Parser/
H A DCHANGELOG.md226 * `__halt_compiler` is no longer recognized as a semi-reserved keyword, in line with PHP behavior.
227 * `<?=` is no longer recognized as a semi-reserved keyword.
426 * Fix incorrect case-sensitivity in keyword token emulation.

Completed in 7 milliseconds