Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 90) sorted by relevance

1234

/php-ast/tests/
H A Dversion_errors.phpt13 ast\parse_code('<?php ...', $version=10000);
20 No version specified. Current version is %d. All versions (including experimental): {%d, %s}
21 Unknown version 10000. Current version is %d. All versions (including experimental): {%d, %s}
H A Dempty_file_parse.phpt7 $file = ast\parse_file(__DIR__ . '/empty_file.php', $version=70);
10 $file = ast\parse_code('', $version=70);
H A Dclass_const_types.phpt18 echo ast_dump(ast\parse_code($code, $version=90));
19 echo "\n\nIn version 100\n";
20 echo ast_dump(ast\parse_code($code, $version=100));
56 In version 100
H A Dclass_type_85.phpt2 Class types only used for enums in AST version 85
17 $node = ast\parse_code($code, $version=85);
H A Dphp74_type_hints.phpt23 $node = ast\parse_code($code, $version=60);
24 echo "The type property should not be set in version 60\n";
26 echo "But the type property should be set in version 70\n";
27 $node = ast\parse_code($code, $version=70);
32 The type property should not be set in version 60
87 But the type property should be set in version 70
H A Dshort_arrow_function_return.phpt18 $node = ast\parse_code($code, $version=70);
21 $node50 = ast\parse_code($code, $version=50);
23 echo "Same representation in version 50/70: ";
95 Same representation in version 50/70: true
H A Dshort_arrow_function.phpt19 $node = ast\parse_code($code, $version=70);
22 $node50 = ast\parse_code($code, $version=50);
24 echo "Same representation in version 50/70: ";
103 Same representation in version 50/70: true
H A Dclass_name_version_50.phpt2 Class properties in AST version 50
16 $node = ast\parse_code($code, $version=50);
H A Dclass_consts_80.phpt2 Class constants in AST version 80
21 echo ast_dump(ast\parse_code($code, $version=80));
H A Dphp81_final_class_const.phpt16 $node = ast\parse_code($code, $version=70);
18 $node = ast\parse_code($code, $version=80);
H A Dparse_file.phpt8 $ast = ast\parse_file(__DIR__ . '/valid_file.php', $version=70);
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";
H A Dnop_statements.phpt15 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
H A Dphp81_readonly.phpt17 $node = ast\parse_code($code, $version=60);
19 $node = ast\parse_code($code, $version=85);
H A Ddecl_ids.phpt2 Closures should have unique identifiers within parsed code in version 50
14 echo ast_dump(ast\parse_code($code, $version=50)) . "\n";
15 echo ast_dump(ast\parse_code($code, $version=80)) . "\n";
H A Dphp74_ordinary_class.phpt2 Class properties in AST version 70 (php 7.0+)
19 $node = ast\parse_code($code, $version=70);
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 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";
/php-ast/
H A DRELEASE_CHECKLIST2 * Update version in php_ast.h to remove dev suffix.
3 * Update version, release date in package.xml.
4 * Check whether "The current version" in README.md is up to date.
9 * Bump version in php_ast.h and add dev suffix.
H A Dast.stub.php19 function parse_code(string $code, int $version, string $filename = 'string code'): \ast\Node {} argument
21 function parse_file(string $filename, int $version): \ast\Node {} argument
H A Dast.c126 zend_long version; member
747 if (state->version < 80) { in ast_fill_children_ht()
862 if (state->version >= 80) { in ast_fill_children_ht()
879 if (state->version >= 110) { in ast_fill_children_ht()
892 if (state->version >= 80) { in ast_fill_children_ht()
1143 return version < 70; in ast_version_deprecated()
1185 if (version != -1) { in ast_check_version()
1198 zend_long version = -1; in PHP_FUNCTION() local
1235 state.version = version; in PHP_FUNCTION()
1246 zend_long version = -1; in PHP_FUNCTION() local
[all …]
H A DREADME.md6 **This is the documentation for version 1.x.y. See also [documentation for version 0.1.x][v0_1_x].**
51 * `ast\parse_file(string $filename, int $version)`
66 $ast = ast\parse_code('<?php ...', $version=100);
68 $ast = ast\parse_file('file.php', $version=100);
113 var_dump(ast\parse_code($code, $version=70));
170 echo ast_dump(ast\parse_code($code, $version=70)), "\n";
471 AST_ATTRIBUTE_LIST // php 8.0+ attributes (version 80+)
472 AST_ATTRIBUTE_GROUP // php 8.0+ attributes (version 80+)
528 * Same as AST version 85.
571 This is the oldest AST version available in 1.0.0. See the
[all …]
H A Dast_stub.php225 * @param int $version AST version
230 function parse_file(string $filename, int $version) argument
238 * @param int $version AST version
244 function parse_code(string $code, int $version, string $filename = "string code") argument
H A Dast_arginfo.h6 ZEND_ARG_TYPE_INFO(0, version, IS_LONG, 0)
12 ZEND_ARG_TYPE_INFO(0, version, IS_LONG, 0)

Completed in 33 milliseconds

1234