summaryrefslogtreecommitdiff
path: root/CODING_STANDARDS
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-02-28 06:31:09 +0000
committerYasuo Ohgaki <yohgaki@php.net>2002-02-28 06:31:09 +0000
commita0c2defe8eac43fb9cf43ce7499319f72ea105de (patch)
tree486298fe13934d18e8b1bff6265453c18906e811 /CODING_STANDARDS
parent7d983e5faf0d34a3d8fddf585814ad5595de8692 (diff)
downloadphp-git-a0c2defe8eac43fb9cf43ce7499319f72ea105de.tar.gz
Recommend ZEND_* macro over PHP_* macro as discussed in php-dev.
Diffstat (limited to 'CODING_STANDARDS')
-rw-r--r--CODING_STANDARDS3
1 files changed, 3 insertions, 0 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS
index f2b675c80e..cf6455bf7d 100644
--- a/CODING_STANDARDS
+++ b/CODING_STANDARDS
@@ -60,6 +60,9 @@ 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.
Naming Conventions
------------------