Skip to content

Commit 1201be3

Browse files
committed
3rd arg to define() is optional
1 parent 56b0d6f commit 1201be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_builtin_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_error_reporting, 0, 0, 0)
129129
ZEND_ARG_INFO(0, new_error_level)
130130
ZEND_END_ARG_INFO()
131131

132-
ZEND_BEGIN_ARG_INFO_EX(arginfo_define, 0, 0, 3)
132+
ZEND_BEGIN_ARG_INFO_EX(arginfo_define, 0, 0, 2)
133133
ZEND_ARG_INFO(0, constant_name)
134134
ZEND_ARG_INFO(0, value)
135135
ZEND_ARG_INFO(0, case_insensitive)

0 commit comments

Comments
 (0)