diff options
Diffstat (limited to 'ext/soap/php_soap.h')
-rw-r--r-- | ext/soap/php_soap.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/soap/php_soap.h b/ext/soap/php_soap.h index 2eeba6be9f..dfe1af553e 100644 --- a/ext/soap/php_soap.h +++ b/ext/soap/php_soap.h @@ -185,4 +185,16 @@ extern zend_class_entry* soap_var_class_entry; zval* add_soap_fault(zval *obj, char *fault_code, char *fault_string, char *fault_actor, zval *fault_detail TSRMLS_DC); +#define soap_error0(severity, format) \ + php_error(severity, "SOAP-ERROR: " format) + +#define soap_error1(severity, format, param1) \ + php_error(severity, "SOAP-ERROR: " format, param1) + +#define soap_error2(severity, format, param1, param2) \ + php_error(severity, "SOAP-ERROR: " format, param1, param2) + +#define soap_error3(severity, format, param1, param2, param3) \ + php_error(severity, "SOAP-ERROR: " format, param1, param2, param3) + #endif |