diff options
author | Dmitry Stogov <dmitry@php.net> | 2004-02-18 07:35:34 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2004-02-18 07:35:34 +0000 |
commit | cbec795c0b06a6649dcb975cb1ae0f63f23f96d1 (patch) | |
tree | faf593f330a9889401a03b266bd1a38aa16a1101 | |
parent | 9cb54cb232ffa541ff73992f5daeced55b4b6531 (diff) | |
download | php-git-cbec795c0b06a6649dcb975cb1ae0f63f23f96d1.tar.gz |
fix: SoapFault constructor fixed to confirm documentation.
-rw-r--r-- | ext/soap/soap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 5ab8a3687e..4962adf2c3 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -670,10 +670,11 @@ PHP_METHOD(soapfault,soapfault) int fault_string_len, fault_code_len, fault_actor_len; zval *details = NULL; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|zs", + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|s!z!", &fault_code, &fault_code_len, &fault_string, &fault_string_len, - &details, &fault_actor, &fault_actor_len) == FAILURE) { + &fault_actor, &fault_actor_len, + &details) == FAILURE) { php_error(E_ERROR, "Invalid arguments to SoapFault constructor"); } |