Lines Matching refs:version

6 **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)`
52 * `ast\parse_code(string $code, int $version [, string $filename = "string code"])`
62 `ast\parse_file()`, which accepts a file path. Additionally, both functions require a `$version`
63 argument to ensure forward-compatibility. The current version is 110.
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";
378 …C: name, docComment, params, stmts, returnType, attributes // name removed in version 110
382 AST_ATTRIBUTE: class, args // php 8.0+ attributes (version 80+)
391 AST_CLASS_CONST_GROUP class, attributes, type // version 80+
392 AST_CLASS_NAME: class // version 70+
394 … name, docComment, params, uses, stmts, returnType, attributes // name removed in version 110
410 uses // prior to version 60
424 uses // prior to version 60
434 … type, name, default, attributes, docComment, hooks // 'hooks' field added in version 110
441 AST_PROP_ELEM: name, default, docComment, hooks // 'hooks' field added in version 110
442 AST_PROP_GROUP: type, props, attributes // version 70+
443 AST_PROPERTY_HOOK: name, docComment, params, stmts, attributes // version 110+
471 AST_ATTRIBUTE_LIST // php 8.0+ attributes (version 80+)
472 AST_ATTRIBUTE_GROUP // php 8.0+ attributes (version 80+)
496 The `ast\parse_code()` and `ast\parse_file()` functions each accept a required AST `$version`
497 argument. The idea behind the AST version is that we may need to change the format of the AST to
499 always be made under a new AST version, while previous formats continue to be supported for some
528 * Same as AST version 85.
571 This is the oldest AST version available in 1.0.0. See the
572 [0.1.x AST version changelog][v0_1_x_versions] for information on changes prior to this version.
590 …* php-ast only runs on PHP >= 7.0 (php-ast 1.0.16 was the last version supporting php <= 7.1), as …
592 * php-ast may only parse code that is syntactically valid on the version of PHP it runs on. This
595 syntactically valid on the used version (e.g. some PHP 5 code may no longer be parsed -- however