Looks like I forgot to git add some files...

This commit is contained in:
nikic 2013-02-14 21:49:08 +01:00
parent a249c002dd
commit 75ec7a3e78
3 changed files with 485 additions and 465 deletions

View File

@ -1,6 +1,9 @@
Version 0.9.4-dev
-----------------
* [PHP 5.5] Add support for `ClassName::class`. This is parsed as an `Expr_ClassConstFetch` with `'class'` being the
constant name.
* Syntax errors now include information on expected tokens and mimic the format of PHP's own (pre 5.4) error messages.
Example:

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,7 @@ Constant fetches
A;
A::B;
A::class;
-----
array(
0: Expr_ConstFetch(
@ -21,4 +22,12 @@ array(
)
name: B
)
2: Expr_ClassConstFetch(
class: Name(
parts: array(
0: A
)
)
name: class
)
)