mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Add define to reset error handling more easily
This commit is contained in:
parent
bdd2d4aacf
commit
ab22461262
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue