mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-15 02:16:56 +01:00
25 lines
307 B
Plaintext
25 lines
307 B
Plaintext
While loop
|
|
-----
|
|
<?php
|
|
|
|
while ($a) {}
|
|
|
|
while ($a):
|
|
endwhile;
|
|
-----
|
|
array(
|
|
0: Stmt_While(
|
|
cond: Expr_Variable(
|
|
name: a
|
|
)
|
|
stmts: array(
|
|
)
|
|
)
|
|
1: Stmt_While(
|
|
cond: Expr_Variable(
|
|
name: a
|
|
)
|
|
stmts: array(
|
|
)
|
|
)
|
|
) |