standards - PHP end tag in php functions and logic file -
example code in question:
<?php function foo($x) { ?> // <-- php end tag in question <ul> <li>coffee</li> <li>tea</li> <li>milk</li> </ul> <?php return ; } ?>
i trying decide if acceptable coding standard / coding practice in php logic file, , downsides of method in comparison other html print/concaternation schemes.
there documentation on php strings find useful. explains difference between single quotes, double quotes, heredoc, , nowdoc syntaxes. don't want invite opinion in issue, don't think method have demonstrated commonly used.
Comments
Post a Comment