Skip to content

Commit 1d4eead

Browse files
committed
Fixed bug #74148 (ReflectionFunction incorrectly reports the number of arguments)
1 parent 015a80e commit 1d4eead

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ PHP NEWS
5050
(Anatol)
5151

5252
- Standard:
53+
. Fixed bug #74148 (ReflectionFunction incorrectly reports the number of
54+
arguments). (Laruence)
5355
. Fixed bug #74005 (mail.add_x_header causes RFC-breaking lone line feed).
5456
(Anatol)
5557
. Fixed bug #73118 (is_callable callable name reports misleading value for

ext/standard/basic_functions.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_fputcsv, 0, 0, 2)
11931193
ZEND_ARG_INFO(0, fields) /* ARRAY_INFO(0, fields, 1) */
11941194
ZEND_ARG_INFO(0, delimiter)
11951195
ZEND_ARG_INFO(0, enclosure)
1196+
ZEND_ARG_INFO(0, escape_char)
11961197
ZEND_END_ARG_INFO()
11971198

11981199
ZEND_BEGIN_ARG_INFO_EX(arginfo_fgetcsv, 0, 0, 1)

0 commit comments

Comments
 (0)