From cbc1cd802cccddef0ee86533ee08dc730b4e27f4 Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Thu, 14 Mar 2002 02:17:23 +0000 Subject: Include/enable assert.h/assert() when it is available --- CODING_STANDARDS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CODING_STANDARDS') diff --git a/CODING_STANDARDS b/CODING_STANDARDS index cf6455bf7d..e200f1e1a2 100644 --- a/CODING_STANDARDS +++ b/CODING_STANDARDS @@ -64,6 +64,9 @@ Exceptions: not recommended. Since most of PHP_* macros are ZEND_* macro alias, use of PHP_* macro makes browsing source with tag search harder. +[8] Use assert(). assert.h is included in php.h if it is available. + Not only good assertion catch bugs, but also it makes easier to read code. + Naming Conventions ------------------ -- cgit v1.2.1