summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2017-02-23 11:02:23 +0800
committerXinchen Hui <laruence@gmail.com>2017-02-23 11:02:23 +0800
commit1d4eead995ed8bd437aec578568aaee0075d17b0 (patch)
treefe135569d553171851580245b7a89c8ecee389bf
parent015a80ef7bb5d691745b6fba35060d996c788a53 (diff)
downloadphp-git-1d4eead995ed8bd437aec578568aaee0075d17b0.tar.gz
Fixed bug #74148 (ReflectionFunction incorrectly reports the number of arguments)
-rw-r--r--NEWS2
-rw-r--r--ext/standard/basic_functions.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6f9c15ca13..f5ae82bcfb 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 eeb3031ccc..2f39f51ede 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)