Functions.php – Can I use a single PHP tag for ALL my functions ?
-
Is it better to use a single <?php tag for all my functions and close with ?> at the end
<? php function example1 () { ???? do something } example1 (); function example2 () { ???? do something } example2 (); etc ... ?>
Or use a <?php tag for each function and close each function with ?>
<? php function example1 () { ???? do something } example1 (); ?> <? php function example2 () { ???? do something } example2 (); ?> etc ...
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Functions.php – Can I use a single PHP tag for ALL my functions ?’ is closed to new replies.