summaryrefslogtreecommitdiff
path: root/CODING_STANDARDS
diff options
context:
space:
mode:
authorDan Kalowsky <kalowsky@php.net>2002-08-13 21:44:59 (GMT)
committerDan Kalowsky <kalowsky@php.net>2002-08-13 21:44:59 (GMT)
commit2e6d77113969e3e567b7ff5ff8b5c1c4b3859abc (patch)
treef72f029eabd9f2fc9babe36b429843a6c775ddd6 /CODING_STANDARDS
parente5240d0b78d1e93073a9b119a1497df822a60fb8 (diff)
downloadphp-2e6d77113969e3e567b7ff5ff8b5c1c4b3859abc.tar.gz
As per the suggestion on php-dev, now please #ifdef 0_<username here>
Diffstat (limited to 'CODING_STANDARDS')
-rw-r--r--CODING_STANDARDS5
1 files changed, 5 insertions, 0 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS
index b588a88..faebc77 100644
--- a/CODING_STANDARDS
+++ b/CODING_STANDARDS
@@ -110,6 +110,11 @@ Exceptions:
Function calls in assert conditions may also cause this problem, if
they modify one of their arguments or global variables.
+[9] When commenting out code using a #if statement, do NOT use 0 only. Append
+ to any 0 an _<cvs username here>. For example, #if 0_FOO, where FOO is
+ cvs user foo. This allows easier tracking of why code was commented out,
+ especially in bundled libraries.
+
Naming Conventions
------------------