Home
last modified time | relevance | path

Searched refs:parse_code (Results 1 – 25 of 85) sorted by relevance

1234

/php-ast/tests/
H A Dparse_code_parse_error.phpt2 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 Dfunctions_dont_use.phpt14 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 Dversion_errors.phpt7 ast\parse_code('<?php ...');
13 ast\parse_code('<?php ...', $version=10000);
H A Dphp81_readonly.phpt17 $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 Dzpp_errors.phpt6 try { ast\parse_code(); }
17 ast\parse_code() expects at least 1 %s, 0 given
H A Dprop_doc_comments.phpt23 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 Dclass_name_version_50.phpt16 $node = ast\parse_code($code, $version=50);
20 Deprecated: ast\parse_code(): Version 50 is deprecated in %s.php on line 13
H A Dphp81_final_class_const.phpt16 $node = ast\parse_code($code, $version=70);
18 $node = ast\parse_code($code, $version=80);
H A Dnop_statements.phpt15 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
H A Ddecl_ids.phpt14 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 Dshort_arrow_function_return.phpt18 $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 Dshort_arrow_function.phpt19 $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 Dclass_on_objects.phpt13 $node = ast\parse_code($code, $version=70);
H A Dcoalesce.phpt13 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
H A Dmixed_type.phpt17 $node = ast\parse_code($code, $version=70);
19 $node = ast\parse_code($code, $version=80);
H A Ddecl_normalization.phpt29 $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 Dphp80_union_types_nullable.phpt22 $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 Dgenerator_flag.phpt15 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
H A Dnever_return_type.phpt14 $node = ast\parse_code($code, $version=85);
H A Dunary_ops.phpt15 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
H A Dempty_file_parse.phpt10 $file = ast\parse_code('', $version=70);
H A Dclass.phpt18 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 Dnested_stmt_lists.phpt25 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
/php-ast/
H A Dast_arginfo.h38 ZEND_FUNCTION(parse_code);
48 ZEND_NS_FE("ast", parse_code, arginfo_ast_parse_code)
H A Dast.stub.php19 function parse_code(string $code, int $version, string $filename = 'string code'): \ast\Node {} function

Completed in 37 milliseconds

1234