drupal-civicrm/vendor/nikic/php-parser/test/code/parser/blockComments.test
2018-01-14 13:10:16 +00:00

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
)
)
)