summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-05-11 21:07:39 +0000
committerMarcus Boerger <helly@php.net>2006-05-11 21:07:39 +0000
commit7a5240e84671ca093e69048f5592d612e1b13aa3 (patch)
treeb990aecf4770a8199f0d765b3d32bac971f1b80e /Zend/zend_compile.h
parentb636a534c12a08297e86469467f1289e83db85a9 (diff)
downloadphp-git-7a5240e84671ca093e69048f5592d612e1b13aa3.tar.gz
- MFH missing bits and pieces of the partial sync with head
# This time i added: # ZEND_FE_RESET_VARIABLE # ZEND_FE_RESET_REFERENCE # and dapted parser,compiler,executor,interfaces to handle these flags # their purpose is to be able to pass whetehr foreach is done by ref to # the current() handler so that it can error out in case it is not capable # to comply to the requested return signature/protocol/semantics (weyp).
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 4bb9fd9845..d108d07517 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -648,6 +648,9 @@ int zendlex(znode *zendlval TSRMLS_DC);
#define ZEND_FE_FETCH_BYREF 1
#define ZEND_FE_FETCH_WITH_KEY 2
+#define ZEND_FE_RESET_VARIABLE 1
+#define ZEND_FE_RESET_REFERENCE 2
+
#define ZEND_MEMBER_FUNC_CALL 1<<0
#define ZEND_ARG_SEND_BY_REF (1<<0)