cvs: /php4/ext/standard assert.c
| From: | Andrei Zmievski | Date: | Wed, 03 May 2000 14:24:14 +0000 |
| Subject: | cvs: /php4/ext/standard assert.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14431@lists.php.net to get a copy of this message | ||
andrei Wed May 3 07:24:14 2000 EDT
Modified files:
/php4/ext/standard assert.c
Log:
Let's enable assert by default since it's so useful.
Index: php4/ext/standard/assert.c
diff -u php4/ext/standard/assert.c:1.17 php4/ext/standard/assert.c:1.18
--- php4/ext/standard/assert.c:1.17 Mon Mar 6 12:37:11 2000
+++ php4/ext/standard/assert.c Wed May 3 07:24:14 2000
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: assert.c,v 1.17 2000/03/06 20:37:11 ssb Exp $ */
+/* $Id: assert.c,v 1.18 2000/05/03 14:24:14 andrei Exp $ */
/* {{{ includes/startup/misc */
@@ -60,7 +60,7 @@
#define ASSERT_QUIET_EVAL 5
PHP_INI_BEGIN()
- STD_PHP_INI_ENTRY("assert.active",
"0", PHP_INI_ALL, OnUpdateInt, active, php_assert_globals, assert_globals)
+ STD_PHP_INI_ENTRY("assert.active",
"1", PHP_INI_ALL, OnUpdateInt, active, php_assert_globals, assert_globals)
STD_PHP_INI_ENTRY("assert.bail", "0", PHP_INI_ALL, OnUpdateInt, bail,
php_assert_globals, assert_globals)
STD_PHP_INI_ENTRY("assert.warning", "1", PHP_INI_ALL, OnUpdateInt, warning,
php_assert_globals, assert_globals)
STD_PHP_INI_ENTRY("assert.callback",
NULL, PHP_INI_ALL, OnUpdateString, default_callback, php_assert_globals, assert_globals)