FAQ Database Discussion Community


Short echo repurposed in newer versions of PHP? [duplicate]

php,php-shorttags
This question already has an answer here: Why are “echo” short tags permanently enabled as of PHP 5.4? 4 answers I have heard from several people that <?= has been re-purposed / replaced in newer versions of PHP, but am unable to find supporting documentation to this change, or...

Search and replace all php_short_tag that is

php,regex,replace,php-shorttags,shorttags
I did not want the hasle of turning on php_short_tag in php.ini and also i wanted to use xml without issues which short tags could introduce, so instead i replaced every occurance of a short tag in the code by using search and replace. I thought i should share it...