summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/soap/soap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index 01ee13eb08..255909babd 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -186,6 +186,9 @@ PHP_MINIT_FUNCTION(soap)
ZEND_INIT_MODULE_GLOBALS(soap, php_soap_init_globals, php_soap_del_globals);
/* Register SoapObject class */
+ /* BIG NOTE : THIS EMITS AN COMPILATION WARNING UNDER ZE2 - handle_function_call deprecated.
+ soap_call_function_handler should be of type struct _zend_function, not (*handle_function_call).
+ */
INIT_OVERLOADED_CLASS_ENTRY(soap_class_entry, PHP_SOAP_CLASSNAME, soap_client_functions, soap_call_function_handler, NULL, NULL);
zend_register_internal_class(&soap_class_entry TSRMLS_CC);