com php-src: Fixed bug #74148 (ReflectionFunction incorrectly reports the number of arguments): NEWS ext/standard/basic_functions.c
[email protected] (Xinchen Hui)
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 1d4eead995ed8bd437aec578568aaee0075d17b0 Author: Xinchen Hui <[email protected]> Thu, 23 Feb 2017 11:02:23 +0800 Parents: 015a80ef7bb5d691745b6fba35060d996c788a53 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1d4eead995ed8bd437aec578568aaee0075d17b0 Log: Fixed bug #74148 (ReflectionFunction incorrectly reports the number of arguments) Bugs: https://bugs.php.net/74148 Changed paths: M NEWS M ext/standard/basic_functions.c Diff: diff --git a/NEWS b/NEWS index 6f9c15c..f5ae82b 100644 --- a/NEWS +++ b/NEWS @@ -50,6 +50,8 @@ PHP NEWS (Anatol) - Standard: + . Fixed bug #74148 (ReflectionFunction incorrectly reports the number of + arguments). (Laruence) . Fixed bug #74005 (mail.add_x_header causes RFC-breaking lone line feed). (Anatol) . Fixed bug #73118 (is_callable callable name reports misleading value for diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index eeb3031..2f39f51 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1193,6 +1193,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_fputcsv, 0, 0, 2) ZEND_ARG_INFO(0, fields) /* ARRAY_INFO(0, fields, 1) */ ZEND_ARG_INFO(0, delimiter) ZEND_ARG_INFO(0, enclosure) + ZEND_ARG_INFO(0, escape_char) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_fgetcsv, 0, 0, 1)