07 - PHP Code Tags
Mambo Coding Standards
Mar 03, 2007 at 10:40 AM

Always use <?php ?> to delimit PHP code, not the <? ?> shorthand. This is required for Mambo compliance and is also the most portable way to include PHP code on differing operating systems and setups.

Note that the final ?> should be omitted from all code files--modules, includes, etc. The closing delimiter is optional, and removing it helps prevent unwanted white space at the end of files which can cause problems elsewhere in the system.

<Previous   Next>

The Mambo Foundation is a volunteer non-profit organization and relies entirely upon the financial and human resource donations of the wider Mambo open source community to keep Mambo going.

We need your support!
Please make a donation today.