From a843a86e6f21ecc497cdd3c98d9cd5feb999f357 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Wed, 10 Jan 2018 19:49:13 -0200 Subject: [PATCH] Fixed bug #75799 (arg of get_defined_functions is optional) --- NEWS | 1 + Zend/zend_builtin_functions.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 8414fcd79a9d3..4889178d26ed0 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 5be7ebea89fb7..184b352ec83b2 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()