Security update for Core, with self-updated composer
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / stmt / loop / while.test
1 While loop
2 -----
3 <?php
4
5 while ($a) {}
6
7 while ($a):
8 endwhile;
9 -----
10 array(
11     0: Stmt_While(
12         cond: Expr_Variable(
13             name: a
14         )
15         stmts: array(
16         )
17     )
18     1: Stmt_While(
19         cond: Expr_Variable(
20             name: a
21         )
22         stmts: array(
23         )
24     )
25 )