Short tags looks nicer and cleaner but can be a problem for people using XML, find more info here:
http://wiki.php.net/rfc/shortags
Here is a useful command if you need to replace this tags in your old code:
grep -oiR '<?=' /path/to/dir | cut -d ":" -f 1 | xargs sed -i 's/<?=/<?php echo /g'
No comments:
Post a Comment