Closed iamwavecut closed 10 years ago
Nice work, thanks! But short tags may not be supported on the target server. I think, it is not good practice for portable, redistributable code.
http://php.net/manual/en/language.basic-syntax.phpmode.php Starting with PHP 5.4, short echo tag <?= is always recognized and valid, regardless of the short_open_tag setting.
Are all servers in Internet use PHP 5.4 or newer? I don't think so. Especially about shared hosting, for this moment. Yes, I speak like a old grandmother, but when I choose between small things "<?=" and "<?php echo", last option seems better for compatibility.
Reverted to PHP <5.4 style. Also few cosmetics.
Last commit have a few syntax errors like "<php"
Yep, mass replace mistake. Fixed
?