summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-04-22 12:01:04 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-04-22 12:01:04 +0200
commite311f2a320b07b6d210c5b1db24a37a0259859f1 (patch)
tree9e2bed2ace4e11b4eaa9305ac9da0d66917d9ce9 /Zend/zend_compile.h
parent4846413289f999ab7aef718dfa823a258b6f1e9a (diff)
downloadphp-git-e311f2a320b07b6d210c5b1db24a37a0259859f1.tar.gz
Fix flag value clash affecting defined() function
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index 3144bc72df..02f52151a8 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -921,8 +921,9 @@ void zend_assert_valid_class_name(const zend_string *const_name);
#define ZEND_DIM_IS 1
-#define IS_CONSTANT_CLASS 0x080 /* __CLASS__ in trait */
-#define IS_CONSTANT_UNQUALIFIED_IN_NAMESPACE 0x100
+/* Make sure these don't clash with ZEND_FETCH_CLASS_* flags. */
+#define IS_CONSTANT_CLASS 0x400 /* __CLASS__ in trait */
+#define IS_CONSTANT_UNQUALIFIED_IN_NAMESPACE 0x800
static zend_always_inline int zend_check_arg_send_type(const zend_function *zf, uint32_t arg_num, uint32_t mask)
{