We have two syntax:
$string = "Foo ${bar}";
$string = "Foo {$bar}";
Ref: http://php.net/manual/en/language.types.string.php
Should we:
I'd leave them the way we find them for now, because for complex expressions the two styles have different meaning. That requires https://github.com/glayzzle/php-parser/issues/101 to be implemented though.
I'll close this for now since there is a PR for the parser feature now :smile:
Most helpful comment
I'd leave them the way we find them for now, because for complex expressions the two styles have different meaning. That requires https://github.com/glayzzle/php-parser/issues/101 to be implemented though.