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


# 21057fb6 04-Sep-2020 Tyson Andre

Support php 8.0 grouped attributes with `#[` (#173)

The choice of null AST_ARG_LIST seems deliberate in php-src, so that
zend_ast_export_attribute_group can emit a different representati

Support php 8.0 grouped attributes with `#[` (#173)

The choice of null AST_ARG_LIST seems deliberate in php-src, so that
zend_ast_export_attribute_group can emit a different representation for
`attr()` and `attr`

show more ...


# c6cc7b1c 31-Jul-2020 Tyson Andre

Support php 8.0 named parameters (#166)

https://wiki.php.net/rfc/named_params is accepted.
This works when built against the PR implementing that RFC.

Also, amend attributes so

Support php 8.0 named parameters (#166)

https://wiki.php.net/rfc/named_params is accepted.
This works when built against the PR implementing that RFC.

Also, amend attributes so that tests pass on php 8.0-dev
(they will be amended again based on the planned vote)

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