From 63282d3321044681e880a997a6360d4b99a07d4f Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 5 May 2015 23:50:50 +0300 Subject: [PATCH] Fixed returning void instead of NULL --- ext/standard/formatted_print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.50.1