/php-ast/scripts/ |
H A D | generate_ast_data.php | 6 $code = <<<EOC variable 234 $code = str_replace('{KINDS}', implode("\n", $kinds), $code); variable 235 $code = str_replace('{STRS}', implode("\n", $strs), $code); variable 236 $code = str_replace('{CONSTS}', implode("\n", $consts), $code); variable 263 $code = str_replace('{CHILD_NAMES}', implode("\n", $childNames), $code); variable 265 file_put_contents($outCodeFile, $code);
|
/php-ast/tests/ |
H A D | parse_code_parse_error.phpt | 6 $code = '<?php &$(")$/)!"'; 9 ast\parse_code($code, 70); 14 ast\parse_code($code, 70, 'file.php'); 21 ParseError: syntax error, unexpected %s&%s expecting end of file in string code:1
|
H A D | nop_statements.phpt | 8 $code = <<<'PHP' 15 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
|
H A D | class_on_objects.phpt | 8 $code = <<<'PHP' 13 $node = ast\parse_code($code, $version=70);
|
H A D | coalesce.phpt | 8 $code = <<<'PHP' 13 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
|
H A D | generator_flag.phpt | 8 $code = <<<'PHP' 15 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
|
H A D | never_return_type.phpt | 8 $code = <<<'PHP' 14 $node = ast\parse_code($code, $version=85);
|
H A D | unary_ops.phpt | 8 $code = <<<'PHP' 15 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
|
H A D | php81_final_class_const.phpt | 9 $code = <<<'PHP' 16 $node = ast\parse_code($code, $version=70); 18 $node = ast\parse_code($code, $version=80);
|
H A D | nested_stmt_lists.phpt | 8 $code = <<<'PHP' 25 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
|
H A D | multiple_final_modifiers.phpt | 8 $code = <<<'PHP' 15 ast\parse_code($code, $version=70);
|
H A D | multi_catch.phpt | 8 $code = <<<'PHP' 15 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
|
H A D | object_type.phpt | 8 $code = <<<'PHP' 13 echo ast_dump(ast\parse_code($code, $version=70));
|
H A D | ast_dump_with_exclude_doc.phpt | 8 $code = <<<'PHP' 19 $ast = ast\parse_code($code, $version=80);
|
H A D | functions_dont_use.phpt | 8 $code = <<<'PHP' 14 echo ast_dump(ast\parse_code($code, $version=50)), "\n"; 15 echo ast_dump(ast\parse_code($code, $version=60)), "\n";
|
H A D | php82_readonly_class.phpt | 9 $code = <<<'PHP' 14 $node = ast\parse_code($code, $version=85);
|
H A D | php74_dim_alternative_syntax.phpt | 10 $code = <<<'PHP' 15 $node = ast\parse_code($code, $version=70);
|
H A D | php84_dim_alternative_syntax.phpt | 10 $code = <<<'PHP' 16 $node = ast\parse_code($code, $version=70);
|
H A D | ast_dump_with_linenos.phpt | 12 $code = <<<'PHP' 24 $ast = ast\parse_code($code, $version=70);
|
H A D | magic_constants.phpt | 8 $code = <<<'PHP' 20 echo ast_dump(ast\parse_code($code, $version=70));
|
H A D | name_node.phpt | 8 $code = <<<'PHP' 16 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
|
H A D | php81_readonly.phpt | 10 $code = <<<'PHP' 17 $node = ast\parse_code($code, $version=60); 19 $node = ast\parse_code($code, $version=85);
|
H A D | named_children.phpt | 8 $code = <<<'PHP' 16 echo ast_dump(ast\parse_code($code, $version=70));
|
H A D | true_type.phpt | 8 $code = <<<'PHP' 15 $node = ast\parse_code($code, $version=85);
|
H A D | eval_include.phpt | 8 $code = <<<'PHP' 17 echo ast_dump(ast\parse_code($code, $version=70));
|