file-header
file-header copied to clipboard
new PHP file doesn't start with <?php
using atom 1.32.1, ide-php 0.7.15, on iOS 10.13.6
This would be an issue with ATOM not file-header. Unless you KNOW your enviroment your PHP files should ALWAYS begin with <?php as <?. The default is <? is acceptable. However if you are mixing anything else which uses <? to start it's tag and this setting is enabled it will cause errors. Which is why it's usually disabled.
https://www.php.net/manual/en/ini.core.php#ini.short-open-tag