diff options
author | Jon Parise <jon@php.net> | 2002-09-08 23:00:31 +0000 |
---|---|---|
committer | Jon Parise <jon@php.net> | 2002-09-08 23:00:31 +0000 |
commit | d6b4462a803a25b02ae67b8186b0f74412d33fb9 (patch) | |
tree | c627e02880867f27bd7c2be262e5d4bfc79cc784 /CODING_STANDARDS | |
parent | ab0da7dc334cb6d44d0d5571f97f1c723bf1c61a (diff) | |
download | php-git-d6b4462a803a25b02ae67b8186b0f74412d33fb9.tar.gz |
Reword item 10 for greater clarity.
Diffstat (limited to 'CODING_STANDARDS')
-rw-r--r-- | CODING_STANDARDS | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS index d50e35c4bb..449e07248c 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 ------------------ |