- fix PHP4 build in http_error_ex()
[m6w6/ext-http] / php_http_std_defs.h
index cfb9cee5504f16e79d8a25b3ce2b1a50a0834991..abe8777a47a3a573e41ebb91c7974fcdc4a665c7 100644 (file)
@@ -273,10 +273,12 @@ typedef int STATUS;
 #endif
 #define HE_THROW       E_THROW
 #ifdef ZEND_ENGINE_2
+#      define HE_THROE         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