History log of /php-ast/ (Results 201 – 225 of 329)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
92ad0b1024-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 ...

4262758d24-Jun-2017 Nikita Popov

Deprecate version 30

022f31a710-Jun-2017 Tyson Andre

Create package.xml for the php-ast project

Verified that `pecl package; pecl install ast-0.1.5dev.tgz` worked in
php 7.1.

For Issue #29 (Having a package.xml reduces the work to

Create package.xml for the php-ast project

Verified that `pecl package; pecl install ast-0.1.5dev.tgz` worked in
php 7.1.

For Issue #29 (Having a package.xml reduces the work to submit this to PECL)

show more ...

159b984b24-Jun-2017 Tyson Andre

Add constructors with parameters for Node (#55)

Signature: new Node(kind, flags, children, lineno)

Assume that the constructor is either never used with parameters
or used very

Add constructors with parameters for Node (#55)

Signature: new Node(kind, flags, children, lineno)

Assume that the constructor is either never used with parameters
or used very frequently (e.g. ast simplifier, code refactoring,
php-parser to ast conversion, etc.)
Validate the data types of params, but not the values themselves.

For backwards compatibility reasons, leave parameters
with no passed values as null, and make everything nullable.
- Assume no pre-existing code would pass in values.

This constructor hasn't been benchmarked yet
(compare with assigning params manually).
php-parser-to-php-ast (incomplete) is one codebase that could be used to
test this, e.g. in a loop.

Also, add aliases to simplify setting a Node property to a zend_long.
- AST_CACHE_SLOT_FLAGS was missing in one place, this PR added it back.
Was the absense deliberate?
- TRY_DELREF is unnecessary in some places, and wrong for parameters to
the constructor.

show more ...

a4ca4fe913-Jun-2017 Tyson Andre

Fix rendered HTML link to php-ast-reverter (#57)

f67f95d817-Mar-2017 Nikita Popov

Fix issue #51

Make attribute value for virtual nodes explicit, fix the nullable
case.

0aa5b47517-Mar-2017 Nikita Popov

Fix ast_dump_with_linenos.phpt test

902851bd25-Jan-2017 Nikita Popov

Back to dev

Revision tags: v0.1.4
701e853925-Jan-2017 Nikita Popov

Release version 0.1.4

With fix for handling of nullable types

e21589ba18-Jan-2017 Nikita Popov

Mark 40 as current version

0b1db79318-Jan-2017 Nikita Popov

Drop support for version 20

b815e10f18-Jan-2017 Nikita Popov

Fix handling of ?array and ?callable

Wrap these in AST_NULLABLE_TYPE as well.

f79568fc18-Jan-2017 Nikita Popov

Add 7.1 to travis

nightly will diverge at some point...

246f22b918-Jan-2017 Nikita Popov

Back to dev

Revision tags: v0.1.3
ae55a19818-Jan-2017 Nikita Popov

Release version 0.1.3

805f367a24-Nov-2016 Nikita Popov

Update current version in README

b247c36e13-Dec-2016 Sammy Kaye Powers

Update display of extension in phpinfo() (#39)

cbb6cd0a05-Dec-2016 Matthieu Napoli

Fix typo in flag list (#37)

fbab0c3524-Nov-2016 Nikita Popov

Fix PHP 7 build

76b1469724-Nov-2016 Nikita Popov

Update USE_* flags for PHP 7.2

These now use ZEND_SYMBOL_*.

81e2938b24-Nov-2016 Nikita Popov

Fix issue #36

The emulation of PHP 7.0 list() structure did not account for
skipped elements.

9e9569c131-Aug-2016 Nikita Popov

Mark AST_GREATER(_EQUAL) as obsolete

24fbefde05-Aug-2016 Remi Collet

Drop EXPERIMENTAL file

Followup of ac993fd

ac993fd504-Aug-2016 Nikita Popov

Remove "experimental" note

a248519d04-Aug-2016 Nikita Popov

Update stubs

12345678910>>...14