z7zmey / php-parser

PHP parser written in Go

Home Page:https://php-parser.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

print echo

blue-bird1 opened this issue · comments

php-parse print echo node will use short-tags. but if php not allow short_open_tag,this will is a error.I don't think the project has any reason to use this.

Since PHP 5.4.0,<?= is always available. But I still think that this is not necessary, the printer does not need to do this kind of thing.

Thanks, you right, by default printer must write <?php echo ... ?> instead of <?= ... ?>