diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-10-05 21:16:52 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-10-05 21:16:52 +0200 |
commit | 8c33bdb976e957ea67ebffd424e0a133a79c6ebe (patch) | |
tree | 92b998de1e58c2caacad8daee7bca69ae4c70be6 /Zend/zend_compile.h | |
parent | 35d0405c4790f0ce668c9e1b8b05197e55d29a05 (diff) | |
download | php-git-8c33bdb976e957ea67ebffd424e0a133a79c6ebe.tar.gz |
Speed up self::method() calls (no ZEND_FETCH_CLASS)
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r-- | Zend/zend_compile.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 865340738a..1e749a595e 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -791,17 +791,18 @@ ZEND_API void zend_assert_valid_class_name(const zend_string *const_name); /* END: OPCODES */ /* class fetches */ -#define ZEND_FETCH_CLASS_DEFAULT 0 -#define ZEND_FETCH_CLASS_SELF 1 -#define ZEND_FETCH_CLASS_PARENT 2 -#define ZEND_FETCH_CLASS_STATIC 3 -#define ZEND_FETCH_CLASS_AUTO 4 -#define ZEND_FETCH_CLASS_INTERFACE 5 -#define ZEND_FETCH_CLASS_TRAIT 6 +#define ZEND_FETCH_CLASS_DEFAULT 0 +#define ZEND_FETCH_CLASS_SELF 1 +#define ZEND_FETCH_CLASS_PARENT 2 +#define ZEND_FETCH_CLASS_STATIC 3 +#define ZEND_FETCH_CLASS_AUTO 4 +#define ZEND_FETCH_CLASS_INTERFACE 5 +#define ZEND_FETCH_CLASS_TRAIT 6 #define ZEND_FETCH_CLASS_MASK 0x0f #define ZEND_FETCH_CLASS_NO_AUTOLOAD 0x80 #define ZEND_FETCH_CLASS_SILENT 0x0100 #define ZEND_FETCH_CLASS_EXCEPTION 0x0200 +#define ZEND_FETCH_CLASS_FORWARD (1<<31) /* variable parsing type (compile-time) */ #define ZEND_PARSED_MEMBER (1<<0) |