- added HttpException::__toString() which takes care about any inner exceptions
[m6w6/ext-http] / php_http_exception_object.h
index 9cf42cb83b22b9e3db6d98b70ee01333c732a259..9afaaf717aac44e65d4a55e11561fdf82e25c576 100644 (file)
@@ -44,6 +44,8 @@ extern zend_class_entry *_http_exception_get_default();
 #define http_exception_get_for_code(c) _http_exception_get_for_code(c)
 extern zend_class_entry *_http_exception_get_for_code(long code);
 
+PHP_METHOD(HttpException, __toString);
+
 #endif
 #endif