| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
- | Copyright (c) 2004-2006, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-2007, Michael Wallner <mike@php.net> |
+--------------------------------------------------------------------+
*/
#define HTTP_EX_CE(name) http_ ##name## _exception_object_ce
extern zend_class_entry *http_exception_object_ce;
-extern zend_function_entry http_exception_object_fe[];
extern zend_class_entry *HTTP_EX_CE(runtime);
extern zend_class_entry *HTTP_EX_CE(header);
extern zend_class_entry *HTTP_EX_CE(malformed_headers);
extern zend_class_entry *HTTP_EX_CE(socket);
extern zend_class_entry *HTTP_EX_CE(response);
extern zend_class_entry *HTTP_EX_CE(url);
+extern zend_function_entry http_exception_object_fe[];
#define http_exception_get_default _http_exception_get_default
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