SE7ENSKY / jade2php

Unlock Jade for PHP! Convert Jade templates into raw PHP templates. CLI tool and JavaScript API. Test covered.
43 stars 10 forks source link

Ability to turn off <?= and use <?php echo instead #24

Closed kevindice closed 9 years ago

kevindice commented 9 years ago

This no longer affects me because PHP (as of 5.4) no longer considers <?= to be a short_tag. However, I think it would be helpful to have the option.

fregante commented 9 years ago

Really this could be a default, there's no advantage in using <?= over <?php echo in this case.

kevindice commented 9 years ago

Agreed. I had never seen <?= until I looked at the output of this script.

On Fri, Jul 17, 2015, 9:14 PM Federico Brigante notifications@github.com wrote:

Really this could be a default, there's no advantage in using <?= over <?php echo in this case.

— Reply to this email directly or view it on GitHub https://github.com/SE7ENSKY/jade2php/issues/24#issuecomment-122469219.