From: Rasmus Lerdorf Date: Wed, 24 Jun 2015 03:53:23 +0000 (-0400) Subject: 3rd arg to define() is optional X-Git-Tag: php-7.0.0beta1~12^2~49^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1201be392fd857c46ece304fc07075891e7567b4;p=php 3rd arg to define() is optional --- 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)