don't, just don't

don't use short open tags: <? ?>; always use the long form of the PHP open tag (<?php ?>)

don't use print; use echo

<?
// bad
print $var;
?>
<?php
// good
echo $var;
?>
This post is available on GitHub.
Posted .

Comments

Leave a Reply