1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00

Fixed returning void instead of NULL

This commit is contained in:
Dmitry Stogov
2015-05-05 23:50:50 +03:00
parent c0c68a9406
commit 63282d3321
+2 -2
View File
@@ -397,12 +397,12 @@ php_formatted_print(zend_execute_data *execute_data, int use_array, int format_o
#ifndef FAST_ZPP
if (zend_parse_parameters(ZEND_NUM_ARGS(), "+", &args, &argc) == FAILURE) {
return;
return NULL;
}
#else
ZEND_PARSE_PARAMETERS_START(1, -1)
Z_PARAM_VARIADIC('+', args, argc)
ZEND_PARSE_PARAMETERS_END();
ZEND_PARSE_PARAMETERS_END_EX(return NULL);
#endif
/* verify the number of args */