By one hand, I know the use of the Short Open Tag <?
in PHP is discouraged for several reasons: only available if enabled in php.ini, for clarity and avoiding confusions...
By the other hand, I see that from PHP 5.4.0 and above, <?=
is always available regardless of the short_open_tag ini setting.
More about PHP tags here.
My question:
Is <?=
considered Short Open Tag? Should I avoid using it in my PHP coding? Or should I do the opposite and use it since is very useful and not affected by the 'discourage recomendation'?
Edited for clarifying: <?= ... ?>
is equivalent to <?php echo ... ?>