| Version 1 (modified by peter, 3 years ago) |
|---|
The PHP language requires semicolons at the end of most lines, but allows them to be omitted at the end of code blocks. Drupal coding standards require them, even at the end of code blocks. In particular, for one-line PHP blocks:
<?php print $tax; ?> -- YES <?php print $tax ?> -- NO
