Skip to content

Commit 4187838

Browse files
committed
Change ZEND_ALTERNATIVE_ARRAY_SYNTAX value so it doesn't conflict with ZEND_DIM_IS
This was causing the constant_expressions_coalesce.phpt test to fail.
1 parent e938af5 commit 4187838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ static zend_always_inline int zend_check_arg_send_type(const zend_function *zf,
992992
#define ZEND_ARRAY_SIZE_SHIFT 2
993993

994994
/* Array/string access syntax with curly braces is used */
995-
#define ZEND_ALTERNATIVE_ARRAY_SYNTAX 1
995+
#define ZEND_ALTERNATIVE_ARRAY_SYNTAX 2
996996

997997
/* Attribute for ternary inside parentheses */
998998
#define ZEND_PARENTHESIZED_CONDITIONAL 1

0 commit comments

Comments
 (0)