summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-01-10 19:49:13 -0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-01-11 13:10:47 +0100
commita843a86e6f21ecc497cdd3c98d9cd5feb999f357 (patch)
tree7e402e372514898a1b95e77c83f3da747230c5ec
parentfd30c59e041eb4ccaabb2099bb3be15a55e2988d (diff)
downloadphp-git-a843a86e6f21ecc497cdd3c98d9cd5feb999f357.tar.gz
Fixed bug #75799 (arg of get_defined_functions is optional)
-rw-r--r--NEWS1
-rw-r--r--Zend/zend_builtin_functions.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 8414fcd79a..4889178d26 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ PHP NEWS
. Fixed bug #75679 (Path 260 character problem). (Anatol)
. Fixed bug #75786 (segfault when using spread operator on generator passed
by reference). (Nikita)
+ . Fixed bug #75799 (arg of get_defined_functions is optional). (carusogabriel)
- Opcache:
. Fixed bug #75720 (File cache not populated after SHM runs full). (Dmitry)
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index 5be7ebea89..184b352ec8 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -220,7 +220,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_set_exception_handler, 0, 0, 1)
ZEND_ARG_INFO(0, exception_handler)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_get_defined_functions, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_get_defined_functions, 0, 0, 0)
ZEND_ARG_INFO(0, exclude_disabled)
ZEND_END_ARG_INFO()