diff options
Diffstat (limited to 'CODING_STANDARDS')
-rw-r--r-- | CODING_STANDARDS | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS index e200f1e1a2..55f402626c 100644 --- a/CODING_STANDARDS +++ b/CODING_STANDARDS @@ -60,12 +60,12 @@ Exceptions: check its man page again, and only then, consider using it, and even then, try avoiding it. -[7] Use ZEND_* macro instead of PHP_* macro. Use of PHP_* macros are - not recommended. Since most of PHP_* macros are ZEND_* macro alias, use of - PHP_* macro makes browsing source with tag search harder. +[7] Use ZEND_* macros instead of PHP_* macros. Use of PHP_* macros is not + recommended. Since most of the PHP_* macros are ZEND_* macro aliases, using + the PHP_* macros makes browsing the source code with a tag search harder. -[8] Use assert(). assert.h is included in php.h if it is available. - Not only good assertion catch bugs, but also it makes easier to read code. +[8] Use assert(). assert.h is included in php.h if it is available. Not only + does good assertion catch bugs, but it also helps with code readability. Naming Conventions ------------------ |