<documentation title="Closing PHP Tags">
<standard>
<![CDATA[
Files should not have closing php tags.
]]>
</standard>
<code_comparison>
<code title="Valid: No closing tag at the end of the file.">
<![CDATA[
<?php
$var = 1;
]]>
</code>
<code title="Invalid: A closing php tag is included at the end of the file.">
<![CDATA[
<?php
$var = 1;
<em>?></em>
]]>
</code>
</code_comparison>
</documentation>
|