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 am trying to decide if this is an acceptable coding standard / coding practice in a PHP logic file, and what are the downsides of this method in comparison to other html print/concaternation schemes.