...
PHP code must always being with the long form opening tag. If a file contains only PHP code, the end tag may optionally be omitted from the end of the file.
Code Block | ||||
---|---|---|---|---|
| ||||
<?php ?> |
Indentation
Tabs should always be used for indentation. Spaces should never be used for indentation. We live in a world where IDEs can be configured to display tabs at variable lengths, so configure your tab width to what you feel comfortable with.
...