History log of /php-ast/tests/001.phpt (Results 1 – 17 of 17)
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
# dd264ecb 06-Oct-2018 Nikita Popov

Deprecate AST version 40


Revision tags: v0.1.6, v0.1.5
# 92ad0b10 24-Jun-2017 Tyson Andre

Add a unique id to declarations in version 45+

For issue #58

The output of `var_dump(ast\parse_code('<?php function(){};function(){};', 45));`

will include '__declId' value

Add a unique id to declarations in version 45+

For issue #58

The output of `var_dump(ast\parse_code('<?php function(){};function(){};', 45));`

will include '__declId' values starting from 0.
The counter will reset if `parse_code` is called again,

show more ...


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


# 521548fe 28-Jun-2015 Nikita Popov

Fix leaks, add some tests


# 2975fede 19-Jun-2015 Nikita Popov

Show return type hints

Decls now have 4 children and the last one is a name.


# 6c5ee119 19-Jun-2015 Nikita Popov

Don't dump linenos by default

For most purposes this is just noise.

In the test it looks like the lineno for AST_ARG_LIST is not being
computed correctly :/


# e5560640 19-Jun-2015 Nikita Popov

Make test independent of ast_dump implementation

Tests shouldn't break when changing it...


# 881bab4d 19-Jun-2015 Rasmus Lerdorf

Fix test


# 8233ab63 11-Jan-2015 Nikita Popov

More compact AST dump

Drop those {}


# 35b042a9 08-Sep-2014 Nikita Popov

Use underscores for function names


# cd104e3b 08-Sep-2014 Nikita Popov

Update README with some info


# 851b139f 08-Sep-2014 Nikita Popov

Add test