From: Rasmus Lerdorf Date: Mon, 29 Jun 2015 01:08:22 +0000 (-0700) Subject: 2nd arg of sprintf is optional X-Git-Tag: php-7.1.0alpha3~25^2~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01ceb0f7fa374af225bc75198d2c09921611cd83;p=php 2nd arg of sprintf is optional --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 81f54a5e99..d4e9ade162 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1348,7 +1348,7 @@ ZEND_BEGIN_ARG_INFO(arginfo_stat, 0) ZEND_END_ARG_INFO() /* }}} */ /* {{{ formatted_print.c */ -ZEND_BEGIN_ARG_INFO_EX(arginfo_sprintf, 0, 0, 2) +ZEND_BEGIN_ARG_INFO_EX(arginfo_sprintf, 0, 0, 1) ZEND_ARG_INFO(0, format) ZEND_ARG_VARIADIC_INFO(0, args) ZEND_END_ARG_INFO()