- improve logging format
[m6w6/ext-http] / php_http_std_defs.h
index 1d865642e9ca216211ea93559d14fb6c19c6f364..4aa0aa43d213330011df953090c0c7e0ca7225b2 100644 (file)
@@ -122,6 +122,8 @@ typedef int STATUS;
 
 #define HTTP_PHP_INI_ENTRY(entry, default, scope, updater, global) \
        STD_PHP_INI_ENTRY(entry, default, scope, updater, global, zend_http_globals, http_globals)
+#define HTTP_PHP_INI_ENTRY_EX(entry, default, scope, updater, displayer, global) \
+       STD_PHP_INI_ENTRY_EX(entry, default, scope, updater, global, zend_http_globals, http_globals, displayer)
 
 /* {{{ arrays */
 #define FOREACH_VAL(array, val) FOREACH_HASH_VAL(Z_ARRVAL_P(array), val)
@@ -271,10 +273,12 @@ typedef int STATUS;
 #endif
 #define HE_THROW       E_THROW
 #ifdef ZEND_ENGINE_2
+#      define HE_THROW         E_THROW
 #      define HE_NOTICE        (HTTP_G(only_exceptions) ? E_THROW : E_NOTICE)
 #      define HE_WARNING       (HTTP_G(only_exceptions) ? E_THROW : E_WARNING)
 #      define HE_ERROR         (HTTP_G(only_exceptions) ? E_THROW : E_ERROR)
 #else
+#      define HE_THROW         E_WARNING
 #      define HE_NOTICE        E_NOTICE
 #      define HE_WARNING       E_WARNING
 #      define HE_ERROR         E_ERROR