mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-13 17:47:23 +01:00
11 lines
188 B
Plaintext
11 lines
188 B
Plaintext
|
Nop statement with comment at end (#513)
|
||
|
-----
|
||
|
<?php
|
||
|
$foo;
|
||
|
$bar;
|
||
|
-----
|
||
|
$stmts[1] = new Stmt\Nop(['comments' => [new Comment('//Some comment here')]]);
|
||
|
-----
|
||
|
<?php
|
||
|
$foo;
|
||
|
//Some comment here
|