);
// Log assert
+ die($message);
syslog(LOG_WARNING, $message);
// Throw an exception here
// Set error handler
//set_error_handler('__errorHandler');
-// Set the new handler
+// Set the exception handler
set_exception_handler('hub_exception_handler');
// Init assert handling
assert_options(ASSERT_WARNING , FALSE);
assert_options(ASSERT_BAIL , TRUE);
assert_options(ASSERT_QUIET_EVAL, FALSE);
+
+// Set assertion handler
assert_options(ASSERT_CALLBACK , '__assertHandler');
// [EOF]