php-parser/test/code/formatPreservation/rewriteVariableInterpolationString.test

10 lines
148 B
Plaintext

Rewrite string with variable interpolation
-----
<?php
"{$e}";
-----
$stmts[0]->expr->parts[0]->setAttribute('origNode', null);
-----
<?php
"{$e}";