summaryrefslogtreecommitdiff
path: root/CODING_STANDARDS
diff options
context:
space:
mode:
authorJon Parise <jon@php.net>2002-09-08 23:00:31 (GMT)
committerJon Parise <jon@php.net>2002-09-08 23:00:31 (GMT)
commitd6b4462a803a25b02ae67b8186b0f74412d33fb9 (patch)
treec627e02880867f27bd7c2be262e5d4bfc79cc784 /CODING_STANDARDS
parentab0da7dc334cb6d44d0d5571f97f1c723bf1c61a (diff)
downloadphp-d6b4462a803a25b02ae67b8186b0f74412d33fb9.tar.gz
Reword item 10 for greater clarity.
Diffstat (limited to 'CODING_STANDARDS')
-rw-r--r--CODING_STANDARDS8
1 files changed, 5 insertions, 3 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS
index d50e35c..449e072 100644
--- a/CODING_STANDARDS
+++ b/CODING_STANDARDS
@@ -115,9 +115,11 @@ Exceptions:
cvs user foo. This allows easier tracking of why code was commented out,
especially in bundled libraries.
-[10] Do no define that is not available. For instance, if library available is
- missing function(s), do not define function nor raise error for missing
- function(s).
+[10] Do not define functions that are not available. For instance, if a
+ library is missing a function, do not define the PHP version of the
+ function, and do not raise a run-time error about the function not
+ existing. End users should use function_exists() to test for the
+ existence of a function
Naming Conventions
------------------