update v 1.0.7.5

This commit is contained in:
Sujit Prasad
2016-06-13 20:41:55 +05:30
parent aa9786d829
commit 283d97e3ea
5078 changed files with 339851 additions and 175995 deletions

View File

@@ -6,7 +6,7 @@ For loop
for ($i = 0; $i < $c; ++$i) {}
// multiple expressions
for (;$a,$b;) {}
for ($a, $b; $c, $d; $e, $f) {}
// infinite loop
for (;;) {}
@@ -46,11 +46,12 @@ array(
)
stmts: array(
)
comments: array(
0: // "classical" loop
)
)
1: Stmt_For(
init: array(
)
cond: array(
0: Expr_Variable(
name: a
)
@@ -58,10 +59,27 @@ array(
name: b
)
)
cond: array(
0: Expr_Variable(
name: c
)
1: Expr_Variable(
name: d
)
)
loop: array(
0: Expr_Variable(
name: e
)
1: Expr_Variable(
name: f
)
)
stmts: array(
)
comments: array(
0: // multiple expressions
)
)
2: Stmt_For(
init: array(
@@ -72,6 +90,9 @@ array(
)
stmts: array(
)
comments: array(
0: // infinite loop
)
)
3: Stmt_For(
init: array(
@@ -82,5 +103,8 @@ array(
)
stmts: array(
)
comments: array(
0: // alternative syntax
)
)
)

View File

@@ -29,6 +29,9 @@ array(
)
stmts: array(
)
comments: array(
0: // foreach on variable
)
)
1: Stmt_Foreach(
expr: Expr_Variable(
@@ -123,6 +126,9 @@ array(
)
stmts: array(
)
comments: array(
0: // foreach on expression
)
)
7: Stmt_Foreach(
expr: Expr_Variable(
@@ -135,5 +141,8 @@ array(
)
stmts: array(
)
comments: array(
0: // alternative syntax
)
)
)