From: Dmitry Stogov Date: Tue, 5 May 2015 20:50:50 +0000 (+0300) Subject: Fixed returning void instead of NULL X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~93^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63282d3321044681e880a997a6360d4b99a07d4f;p=php Fixed returning void instead of NULL --- diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c index 15afba34ba..1c381cdb00 100644 --- a/ext/standard/formatted_print.c +++ b/ext/standard/formatted_print.c @@ -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 */