com php-src: Fixed bug #75799 (arg of get_defined_functions is optional): NEWS Zend/zend_builtin_functions .c
| From: | Christoph Michael Becker | Date: | Thu, 11 Jan 2018 12:10:47 +0000 |
| Subject: | com php-src: Fixed bug #75799 (arg of get_defined_functions is optional): NEWS Zend/zend_builtin_functions .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100836@lists.php.net to get a copy of this message | ||
Commit: a843a86e6f21ecc497cdd3c98d9cd5feb999f357
Author: Gabriel Caruso <carusogabriel34@gmail.com> Wed, 10 Jan 2018 19:49:13 -0200
Committer: Christoph M. Becker <cmbecker69@gmx.de> Thu, 11 Jan 2018 13:10:47 +0100
Parents: fd30c59e041eb4ccaabb2099bb3be15a55e2988d
Branches: PHP-7.1 PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a843a86e6f21ecc497cdd3c98d9cd5feb999f357
Log:
Fixed bug #75799 (arg of get_defined_functions is optional)
Bugs:
https://bugs.php.net/75799
Changed paths:
M NEWS
M Zend/zend_builtin_functions.c
Diff:
diff --git a/NEWS b/NEWS
index 8414fcd..4889178 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 5be7ebe..184b352 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()