summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-02-18 13:46:24 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-02-18 13:47:44 +0100
commitc9ffae1bec67d628d2859368be66175b5c693de5 (patch)
tree356ba5bc4e6eb13565effdda62d496c997edab6e /Zend/zend_compile.h
parent7d0d94e230b431e06937855e793ba5ffcfdad55e (diff)
downloadphp-git-c9ffae1bec67d628d2859368be66175b5c693de5.tar.gz
Fixed bug #77633
Add a new class flag to inherit get_iterator() when implementing the Iterator/IteratorAggregate interfaces and use it for ArrayIterator.
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index a80838666b..dfb04ab732 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -263,6 +263,9 @@ typedef struct _zend_oparray_context {
/* Whether all property types are resolved to CEs | | | */
#define ZEND_ACC_PROPERTY_TYPES_RESOLVED (1 << 16) /* X | | | */
/* | | | */
+/* Children must reuse parent get_iterator() | | | */
+#define ZEND_ACC_REUSE_GET_ITERATOR (1 << 17) /* X | | | */
+/* | | | */
/* Function Flags (unused: 28...30) | | | */
/* ============== | | | */
/* | | | */