com php-src: 3rd arg to define() is optional: Zend/zend_built in_functions.c
| From: | Rasmus Lerdorf | Date: | Wed, 24 Jun 2015 03:53:23 +0000 |
| Subject: | com php-src: 3rd arg to define() is optional: Zend/zend_built in_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87500@lists.php.net to get a copy of this message | ||
Commit: 1201be392fd857c46ece304fc07075891e7567b4
Author: Rasmus Lerdorf <rasmus@php.net> Tue, 23 Jun 2015 23:53:23 -0400
Parents: 56b0d6f3a0c4ac309afb422b8c195b6bebb6834c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1201be392fd857c46ece304fc07075891e7567b4
Log:
3rd arg to define() is optional
Changed paths:
M Zend/zend_builtin_functions.c
Diff:
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index 93e19fd..1cdee8a 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -129,7 +129,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_error_reporting, 0, 0, 0)
ZEND_ARG_INFO(0, new_error_level)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_define, 0, 0, 3)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_define, 0, 0, 2)
ZEND_ARG_INFO(0, constant_name)
ZEND_ARG_INFO(0, value)
ZEND_ARG_INFO(0, case_insensitive)