mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Use variables that already received ZEND_NUM_ARGS()
This commit is contained in:
parent
26cd84d19f
commit
8ca1f47a7a
6 changed files with 15 additions and 22 deletions
|
@ -1026,7 +1026,7 @@ PHP_FUNCTION(xmlrpc_server_call_method)
|
|||
php_output_options out;
|
||||
int argc = ZEND_NUM_ARGS();
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS(), "rsz|a", &handle, &rawxml, &rawxml_len, &caller_params, &output_opts) != SUCCESS) {
|
||||
if (zend_parse_parameters(argc, "rsz|a", &handle, &rawxml, &rawxml_len, &caller_params, &output_opts) != SUCCESS) {
|
||||
return;
|
||||
}
|
||||
/* user output options */
|
||||
|
@ -1447,4 +1447,3 @@ PHP_FUNCTION(xmlrpc_is_fault)
|
|||
* c-basic-offset: 4
|
||||
* End:
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue