if I enable short tag = true, then I can use like below
=$variableName ?>
Instead of
It not a good practice. Why i said like that because let say you want to push your code to production and you are using shared hosting. In PHP 5.4.0 above php short tags enabled by default. What if the shared hosting use the older PHP version. Some shared hosting you cannot override php.ini settings. If you want to use php shorttags you must enable it on php.ini. Refer the link below. The PHP short tag also can conflict with XML code .
http://php.net/manual/en/ini.core.php#ini.short-open-tag
No server dependency
It totally not depend on framework.