History log of /php-ast/tests/closure_use_vars.phpt (Results 1 – 14 of 14)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 260678d4 09-Aug-2022 Tyson Andre

Add encaps var flags for AST_DIM/AST_VAR for php 8.2 (#227)

For https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation

Closes #224

In util.php: Don't print a

Add encaps var flags for AST_DIM/AST_VAR for php 8.2 (#227)

For https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation

Closes #224

In util.php: Don't print a 0 flag value for combinable flags

For php-ast self-testing, minimize the number of changes in the future
when similar combinable flags get added to existing ast var types.

show more ...


# 91f59467 07-Aug-2022 Tyson Andre

php-ast 1.1.0dev: Deprecate AST versions 50 and 60, drop support for php < 7.2 (#185)

* Deprecate AST versions 50 and 60

AST version 70 has been supported since php-ast 1.0.1 (2019-

php-ast 1.1.0dev: Deprecate AST versions 50 and 60, drop support for php < 7.2 (#185)

* Deprecate AST versions 50 and 60

AST version 70 has been supported since php-ast 1.0.1 (2019-02-11).

Related to #114

* Drop support for php <= 7.1

Update documentation to mention this.

* Update test expectation for AST version 60 deprecation

show more ...


# 85b6bf88 14-Jun-2020 Tyson Andre

Support php 8.0 "Constructor Promotion" and attributes (#160)

- attributes are only available in AST version 80+,
and will be null before php 8.0


# 66de07d2 06-Jun-2020 Tyson Andre

Revert "Support php 8.0 "Constructor Promotion" and attributes"

This reverts commit b0370e632aad7b2c6feadaa8ea4610e5e0c055c6.


# b0370e63 30-May-2020 Tyson Andre

Support php 8.0 "Constructor Promotion" and attributes

Because AST_CLASS_CONST_DECL is a list of nodes, don't add the key
"attributes" to the hash table in older AST versions.

A

Support php 8.0 "Constructor Promotion" and attributes

Because AST_CLASS_CONST_DECL is a list of nodes, don't add the key
"attributes" to the hash table in older AST versions.

Add visibility modifiers to AST_PARAM, but only in php 8.0+.
MODIFIER_PUBLIC and PARAM_REF are the same value in php 7.4.

show more ...


Revision tags: v1.0.5, v1.0.4, v1.0.3, v1.0.2, v1.0.1, v1.0.0, v0.1.7
# dd264ecb 06-Oct-2018 Nikita Popov

Deprecate AST version 40


# 5dd4acef 06-Oct-2018 Nikita Popov

Update tests for master

Class and function flags have been renumbered, so don't match
against exact values.


Revision tags: v0.1.6, v0.1.5
# 7f91b00e 19-Jul-2017 Nikita Popov

Add CLOSURE_USE_REF flag

With the CLOSURE_ prefix to distinguish it from the namespace
USE_ flags.


# 497a8558 19-Jul-2017 Nikita Popov

Rename RETURNS_REF to FUNC_RETURNS_REF


# 4262758d 24-Jun-2017 Nikita Popov

Deprecate version 30


Revision tags: v0.1.4, v0.1.3, v0.1.2
# 0d8c47b9 30-Apr-2016 Nikita Popov

Deprecate version 15

Switching tests to version 30 where possible.


Revision tags: v0.1.1, v0.1.0
# ac969d78 21-Oct-2015 Nikita Popov

Make $version argument required

[bc-break]


# 2b147f30 30-Jun-2015 Nikita Popov

Determine flag name when dumping

I don't know by heart which flag 67108864 is...


# f6ff9219 30-Jun-2015 Nikita Popov

Improve AST_CLOSURE_VAR implementation

* Simplify code by combining nearly completely duplicate function
* Add AST_CLOSURE_VAR to generate_ast_data.php
* Add test
* Adjust README