/php-ast/tests/ |
H A D | parse_code_parse_error.phpt | 2 ast\parse_code() throwing a ParseError 9 ast\parse_code($code, 70); 14 ast\parse_code($code, 70, 'file.php'); 23 #0 %s(%d): ast\parse_code('%s', %d) 27 #0 %s(%d): ast\parse_code('%s', %d, 'file.php')
|
H A D | functions_dont_use.phpt | 14 echo ast_dump(ast\parse_code($code, $version=50)), "\n"; 15 echo ast_dump(ast\parse_code($code, $version=60)), "\n"; 20 Deprecated: ast\parse_code(): Version 50 is deprecated in %s.php on line 11 39 Deprecated: ast\parse_code(): Version 60 is deprecated in %s.php on line 12
|
H A D | version_errors.phpt | 7 ast\parse_code('<?php ...'); 13 ast\parse_code('<?php ...', $version=10000);
|
H A D | php81_readonly.phpt | 17 $node = ast\parse_code($code, $version=60); 19 $node = ast\parse_code($code, $version=85); 22 Deprecated: ast\parse_code(): Version 60 is deprecated in %sphp81_readonly.php on line 12
|
H A D | zpp_errors.phpt | 6 try { ast\parse_code(); } 17 ast\parse_code() expects at least 1 %s, 0 given
|
H A D | prop_doc_comments.phpt | 23 echo ast_dump(ast\parse_code($code, $version=50)), "\n"; 24 echo ast_dump(ast\parse_code($code, $version=80)), "\n"; 25 echo ast_dump(ast\parse_code($code, $version=110)), "\n"; 29 Deprecated: ast\parse_code(): Version 50 is deprecated in %s.php on line 20
|
H A D | class_name_version_50.phpt | 16 $node = ast\parse_code($code, $version=50); 20 Deprecated: ast\parse_code(): Version 50 is deprecated in %s.php on line 13
|
H A D | php81_final_class_const.phpt | 16 $node = ast\parse_code($code, $version=70); 18 $node = ast\parse_code($code, $version=80);
|
H A D | nop_statements.phpt | 15 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
|
H A D | decl_ids.phpt | 14 echo ast_dump(ast\parse_code($code, $version=50)) . "\n"; 15 echo ast_dump(ast\parse_code($code, $version=80)) . "\n"; 19 Deprecated: ast\parse_code(): Version 50 is deprecated in %s.php on line 11
|
H A D | short_arrow_function_return.phpt | 18 $node = ast\parse_code($code, $version=70); 21 $node50 = ast\parse_code($code, $version=50); 94 Deprecated: ast\parse_code(): Version 50 is deprecated in %sshort_arrow_function_return.php on line…
|
H A D | short_arrow_function.phpt | 19 $node = ast\parse_code($code, $version=70); 22 $node50 = ast\parse_code($code, $version=50); 102 Deprecated: ast\parse_code(): Version 50 is deprecated in %s.php on line 17
|
H A D | class_on_objects.phpt | 13 $node = ast\parse_code($code, $version=70);
|
H A D | coalesce.phpt | 13 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
|
H A D | mixed_type.phpt | 17 $node = ast\parse_code($code, $version=70); 19 $node = ast\parse_code($code, $version=80);
|
H A D | decl_normalization.phpt | 29 $ast = ast\parse_code($code, $version=70); 32 $ast = ast\parse_code($code, $version=50); 98 Deprecated: ast\parse_code(): Version 50 is deprecated in %sdecl_normalization.php on line 29
|
H A D | php80_union_types_nullable.phpt | 22 $node = ast\parse_code($code, $version=50); 24 $node = ast\parse_code($code, $version=70); 27 Deprecated: ast\parse_code(): Version 50 is deprecated in %s.php on line 17
|
H A D | generator_flag.phpt | 15 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
|
H A D | never_return_type.phpt | 14 $node = ast\parse_code($code, $version=85);
|
H A D | unary_ops.phpt | 15 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
|
H A D | empty_file_parse.phpt | 10 $file = ast\parse_code('', $version=70);
|
H A D | class.phpt | 18 echo ast_dump(ast\parse_code($code, $version=60)), "\n"; 19 echo ast_dump(ast\parse_code($code, $version=70)), "\n"; 23 Deprecated: ast\parse_code(): Version 60 is deprecated in %sclass.php on line 15
|
H A D | nested_stmt_lists.phpt | 25 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
|
/php-ast/ |
H A D | ast_arginfo.h | 38 ZEND_FUNCTION(parse_code); 48 ZEND_NS_FE("ast", parse_code, arginfo_ast_parse_code)
|
H A D | ast.stub.php | 19 function parse_code(string $code, int $version, string $filename = 'string code'): \ast\Node {} function
|