jon Sun Sep 8 19:00:34 2002 EDT Modified files: /php4 CODING_STANDARDS Log: Reword item 10 for greater clarity. Index: php4/CODING_STANDARDS diff -u php4/CODING_STANDARDS:1.19 php4/CODING_STANDARDS:1.20 --- php4/CODING_STANDARDS:1.19 Sun Sep 8 18:38:57 2002 +++ php4/CODING_STANDARDS Sun Sep 8 19:00:31 2002 @@ -115,9 +115,11 @@ 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 ------------------
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php