From: Gabriel Caruso Date: Wed, 10 Jan 2018 21:49:13 +0000 (-0200) Subject: Fixed bug #75799 (arg of get_defined_functions is optional) X-Git-Tag: php-7.1.14RC1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a843a86e6f21ecc497cdd3c98d9cd5feb999f357;p=php Fixed bug #75799 (arg of get_defined_functions is optional) --- 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()