Search code examples
phpphp-shorttags

Short echo repurposed in newer versions of PHP?


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 to what version(s) it effects. Has short echo been replaced or re-purposed and is there supporting documentation to it?


Solution

  • The current documentation does not reflect any change of behaviour of shorthand echo (<?=) since version 5.4.0, in which only the necessary configuration to enable it was changed.