diff options
author | rjhdby <andrewgrom@rambler.ru> | 2019-03-13 13:51:31 +0300 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-19 10:06:10 +0200 |
commit | d574df63dc375f5fc9202ce5afde23f866b6450a (patch) | |
tree | 5fd118cf3045f46cef4de60235a6bc9e980ac4a9 /Zend/zend_compile.h | |
parent | d5943f5a11976ffbe89b9634b86d9a0b2adda30a (diff) | |
download | php-git-d574df63dc375f5fc9202ce5afde23f866b6450a.tar.gz |
Deprecate alternative array access syntax
RFC: https://wiki.php.net/rfc/deprecate_curly_braces_array_access
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r-- | Zend/zend_compile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index c9b8270413..2d7c18fc58 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -924,7 +924,8 @@ void zend_assert_valid_class_name(const zend_string *const_name); #define ZEND_SEND_BY_REF 1u #define ZEND_SEND_PREFER_REF 2u -#define ZEND_DIM_IS 1 +#define ZEND_DIM_IS (1 << 0) /* isset fetch needed for null coalesce */ +#define ZEND_DIM_ALTERNATIVE_SYNTAX (1 << 1) /* deprecated curly brace usage */ #define IS_CONSTANT_UNQUALIFIED 0x010 #define IS_CONSTANT_CLASS 0x080 /* __CLASS__ in trait */ |