Difference between revisions of "Coding Standards"
From ARK
| Line 1: | Line 1: | ||
| − | The ARK coding standards follow the PEAR coding standards for PHP code. The PEAR documentation is pretty complete and should be consulted in the first instance. | + | The ARK coding standards follow the PEAR coding standards for PHP code. The PEAR documentation is pretty complete and should be consulted in the first instance at [[http://pear.php.net/manual/en/standards.php]]. |
Common errors and things to watch out for: | Common errors and things to watch out for: | ||
Revision as of 15:56, 4 June 2007
The ARK coding standards follow the PEAR coding standards for PHP code. The PEAR documentation is pretty complete and should be consulted in the first instance at [[1]].
Common errors and things to watch out for:
- Use a space after operators but not after function calls
function(call);
if (operator) {