]> granicus.if.org Git - php/commitdiff
Add define to reset error handling more easily
authorMarcus Boerger <helly@php.net>
Fri, 29 Aug 2003 00:22:36 +0000 (00:22 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 29 Aug 2003 00:22:36 +0000 (00:22 +0000)
main/php.h

index ff2ef9ebb66e38bcf33b270ed4fa7f3bc9b072e4..880c3c5a00ac117a5f408af7e6acd592546f3d49 100644 (file)
@@ -296,6 +296,7 @@ typedef enum {
 
 BEGIN_EXTERN_C();
 PHPAPI void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC);
+#define php_std_error_handling() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC)
 
 PHPAPI void php_verror(const char *docref, const char *params, int type, const char *format, va_list args TSRMLS_DC) PHP_ATTRIBUTE_FORMAT(printf, 4, 0);