Skip to content

Commit 53ca667

Browse files
authored
Merge branch 'master' into cleanup
2 parents ae1f127 + 6786710 commit 53ca667

25 files changed

+442
-260
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ var engine = require('php-parser');
3030
var parser = new engine({
3131
// some options :
3232
parser: {
33-
extractDoc: true
33+
extractDoc: true,
34+
php7: true
3435
},
3536
ast: {
3637
withPositions: true
@@ -74,8 +75,9 @@ Sample AST output
7475
}
7576
```
7677

77-
Try it online (demo) :
78-
http://glayzzle.com/php-parser/#demo
78+
- Try it online (demo) : http://glayzzle.com/php-parser/#demo
79+
- Or from AST Explorer : https://astexplorer.net/
80+
7981

8082
API Overview
8183
------------

RELEASE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Releases
22

3+
## 2.2.0 : (2017-12-27)
4+
- Impl #108 : add an option to disable PHP7 support
5+
- Fix #107 : fix T_DOUBLE_COLON handler
6+
- Fix #106 : infinite loops from lexer (unput)
7+
- Fix #105 : T_DOLLAR_OPEN_CURLY_BRACES handles now expressions
8+
- PR #102 : Normalize the way type casts are defined
9+
- Fix #103 : Fix critical cast to null confusion
10+
311
## 2.1.0 : (2017-11-01)
412
- Impl #91 & #92 : Functions support reserved names (PHP7)
513
- Fix #89 : parsing methods can use Buffers or Strings

0 commit comments

Comments
 (0)