D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
api
/
vendor
/
nikic
/
php-parser
/
test
/
code
/
formatPreservation
/
Filename :
blockConversion.test
back
Copy
It may be necessary to convert a single statement into a block ----- <?php if ($a) $b; ----- // TODO Avoid fallback $stmts[0]->stmts[] = new Stmt\Expression(new Expr\Variable('c')); ----- <?php if ($a) { $b; $c; } ----- <?php if ($a) {$b;} ----- $stmts[0]->stmts[] = new Stmt\Expression(new Expr\Variable('c')); ----- <?php if ($a) {$b; $c;}