From 1201be392fd857c46ece304fc07075891e7567b4 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Tue, 23 Jun 2015 23:53:23 -0400 Subject: [PATCH] 3rd arg to define() is optional --- Zend/zend_builtin_functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 93e19fd869..1cdee8ac63 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) -- 2.40.0