mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-02 17:38:19 +01:00
31 lines
347 B
Plaintext
31 lines
347 B
Plaintext
Comments on blocks
|
|
-----
|
|
<?php
|
|
|
|
// foo
|
|
{
|
|
// bar
|
|
{
|
|
// baz
|
|
$a;
|
|
}
|
|
}
|
|
|
|
// empty
|
|
{}
|
|
-----
|
|
array(
|
|
0: Expr_Variable(
|
|
name: a
|
|
comments: array(
|
|
0: // foo
|
|
1: // bar
|
|
2: // baz
|
|
)
|
|
)
|
|
1: Stmt_Nop(
|
|
comments: array(
|
|
0: // empty
|
|
)
|
|
)
|
|
) |