cvs: php4 / CODING_STANDARDS
| From: | Yasuo Ohgaki | Date: | Thu, 28 Feb 2002 06:31:09 +0000 |
| Subject: | cvs: php4 / CODING_STANDARDS | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9495@lists.php.net to get a copy of this message | ||
yohgaki Thu Feb 28 01:31:09 2002 EDT
Modified files:
/php4 CODING_STANDARDS
Log:
Recommend ZEND_* macro over PHP_* macro as discussed in php-dev.
Index: php4/CODING_STANDARDS
diff -u php4/CODING_STANDARDS:1.9 php4/CODING_STANDARDS:1.10
--- php4/CODING_STANDARDS:1.9 Fri Jan 4 08:14:53 2002
+++ php4/CODING_STANDARDS Thu Feb 28 01:31:09 2002
@@ -60,6 +60,9 @@
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
------------------