1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-03 09:47:59 +01:00
PHP-Parser/test/code/parser/nopPositions.test

27 lines
348 B
Plaintext
Raw Normal View History

Positions for leading nop statement
-----
<?php
/* Comment */
-----
!!positions
array(
0: Stmt_Nop[2:14 - 2:13](
comments: array(
0: /* Comment */
)
)
)
-----
<?php
{
/* comment */
}
-----
!!positions
array(
0: Stmt_Nop[3:0 - 3:17](
comments: array(
0: /* comment */
)
)
)