X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_std_defs.h;fp=php_http_std_defs.h;h=fdbfafa5e4e4b0a5915f6851e067ddae2a0e004f;hp=d20579d8b025ca9618e3d73ea9aee3536018d3f4;hb=78145de6c3c0a6b7543c5b3e4d45a321c6defe75;hpb=1f6593c5096d41f146d87799f7ca3e3d4446247a diff --git a/php_http_std_defs.h b/php_http_std_defs.h index d20579d..fdbfafa 100644 --- a/php_http_std_defs.h +++ b/php_http_std_defs.h @@ -219,8 +219,8 @@ typedef int STATUS; #ifdef ZEND_ENGINE_2 # define with_error_handling(eh, ec) \ { \ - error_handling_t __eh = PG(error_handling); \ - zend_class_entry *__ec= PG(exception_class); \ + error_handling_t __eh = GLOBAL_ERROR_HANDLING; \ + zend_class_entry *__ec= GLOBAL_EXCEPTION_CLASS; \ php_set_error_handling(eh, ec TSRMLS_CC); # define end_error_handling() \ php_set_error_handling(__eh, __ec TSRMLS_CC); \