History log of /php-ast/tests/class.phpt (Results 1 – 10 of 10)
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 ...


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

Emulate PHP 7.0 CONST_ELEM docComment only in version >= 60


# 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
# 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.


# 26bf9d3c 10-Mar-2016 Nikita Popov

Support PHP 7.1 class constant visibility

a) CLASS_CONST_DECL now uses modifier flags. For PHP < 7.1 we
emuate MODIFIER_PUBLIC here for consistency.
b) CONST_ELEM can now have a d

Support PHP 7.1 class constant visibility

a) CLASS_CONST_DECL now uses modifier flags. For PHP < 7.1 we
emuate MODIFIER_PUBLIC here for consistency.
b) CONST_ELEM can now have a docComment properts (in analog to the
property on PROP_ELEM).

show more ...


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

Make $version argument required

[bc-break]


# e2e555b3 22-Jul-2015 Nikita Popov

Actually add the test...