]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions.php
Use constants TRUE/FALSE/NULL instead of keywords true/false/null
[hub.git] / application / hub / exceptions.php
index ed80b25d53bf563d2c7e5fd9d62d99abb075c727..a6ca43ce1f337532c3e14d4e7cbcc8279854b23b 100644 (file)
@@ -130,11 +130,11 @@ function __assertHandler ($file, $line, $code) {
 set_exception_handler('hub_exception_handler');
 
 // Init assert handling
-assert_options(ASSERT_ACTIVE,     true);
-assert_options(ASSERT_WARNING,    false);
-assert_options(ASSERT_BAIL,       false);
-assert_options(ASSERT_QUIET_EVAL, false);
-assert_options(ASSERT_CALLBACK,   '__assertHandler');
+assert_options(ASSERT_ACTIVE    , TRUE);
+assert_options(ASSERT_WARNING   , FALSE);
+assert_options(ASSERT_BAIL      , TRUE);
+assert_options(ASSERT_QUIET_EVAL, FALSE);
+assert_options(ASSERT_CALLBACK  , '__assertHandler');
 
 // [EOF]
 ?>