History log of /PHP-Parser/ (Results 1526 – 1550 of 1690)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
c51991bc30-Oct-2011 nikic

Improve test run.php

* Add two more ignored tests (not real pretty print differences)
* Measure more times

6ecae86930-Oct-2011 nikic

[5.4] Add support for traits

613aa84f28-Oct-2011 nikic

[5.4] Add support for static closures

This adds another property to Expr_Closure named "static". It's true for static closures and false otherwise.

c88d227528-Oct-2011 nikic

Move some uses of the toArray() macro

Previously it was applied both to the result of inner_statement_list and statement, whereas only the latter required it.

c7c94f3828-Oct-2011 nikic

Stop using ArrayObject for nodes

Instead manually implement IteratorAggregate and define the required magic methods. The reasoning behind this is:
a) Extending ArrayObject is always risk

Stop using ArrayObject for nodes

Instead manually implement IteratorAggregate and define the required magic methods. The reasoning behind this is:
a) Extending ArrayObject is always risky, because a lot of magic which is known to be buggy is involved
b) This allows to lateron change the implementation for the nodes altogether, for example it could be changed to using real public fields instead of a $subNodes array.

show more ...

126efbc028-Oct-2011 nikic

Make more things optional

Make $stmts and $subNodes optional in most places

a3c24cf828-Oct-2011 nikic

[API] Rename Stmt_Func to Stmt_Function

f202aa9828-Oct-2011 nikic

[API] Make all constructors specialized

For nodes that accept many optional arguments I chose to keep the $subNodes argument, but provide default values instead.

5f0a153526-Oct-2011 nikic

Fix unit tests

25f37ccc26-Oct-2011 nikic

[API] Rename LambdaFunc to Closure

The term "closure" is more commonly used in PHP, even if the function doesn't use() any variables.

734dbecb21-Oct-2011 nikic

Add some more constructors

82c4956521-Oct-2011 nikic

Remove zend_language_parser.y from distribution

7806bf0221-Oct-2011 nikic

[5.4] Add support for ClassName::{expr}

73cc546121-Oct-2011 nikic

Slightly clean up scalar/static_sclar/common_sclar

name rule is now in common_scalar as it is shared. T_STRING_VARNAME is in encaps_var now.

ef9d028321-Oct-2011 nikic

Add class_name_or_var nonterminal (to simplify)

class_name_or_var nonterminal is class_name | reference_variable

08ea0e3d21-Oct-2011 nikic

[5.4] Add callable typehint

Need to refactor how typehints are saved. Saving array and callable typehints as strings isn't clean

ab98256721-Oct-2011 nikic

[5.4] Add support for short array syntax

1eb1118e20-Oct-2011 nikic

[5.4] Add object method array dereferencing

Other array dereferencing support will follow. Added this in advance as it simplified the code.

eae1abb620-Oct-2011 nikic

[5.4] Add new tokens

This is to not throw noticed when parsing not yet supported code on 5.4

920f12f920-Oct-2011 nikic

Allow __halt_compiler(); after braced namespaces

d9b5814020-Oct-2011 nikic

run tests with all errors enabled

3233fdd220-Oct-2011 nikic

Add support for ClassName::$$a()

aea2f67c20-Oct-2011 nikic

Fix AST for ClassName::$methodName()

dc41822719-Oct-2011 nikic

Exclude fatal errors one some files from PHP tests

9fba1df419-Oct-2011 nikic

Circumvent token_get_all bug with b"$var"

1...<<6162636465666768