summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-09-29 07:28:34 +0000
committerDmitry Stogov <dmitry@php.net>2007-09-29 07:28:34 +0000
commit166266df68db50c4d1119f2be265972c8d77f1af (patch)
treedb37ce528d82613d84737d6e30cb8fe8f14c9b78 /Zend/zend_compile.h
parente9dd6fab9194b3ae717b79322853dfa6fb64fb28 (diff)
downloadphp-git-166266df68db50c4d1119f2be265972c8d77f1af.tar.gz
Added support for Late Static Binding. (Dmitry, Etienne Kneuss)
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index b7321a1f52..91657d86ee 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -270,9 +270,7 @@ typedef union _zend_function {
typedef struct _zend_function_state {
- HashTable *function_symbol_table;
zend_function *function;
- void *reserved[ZEND_MAX_RESERVED_RESOURCES];
} zend_function_state;
@@ -295,6 +293,7 @@ struct _zend_execute_data {
struct _zend_op *opline;
zend_function_state function_state;
zend_function *fbc; /* Function Being Called */
+ zend_class_entry *called_scope;
zend_op_array *op_array;
zval *object;
union _temp_variable *Ts;
@@ -597,6 +596,7 @@ int zendlex(znode *zendlval TSRMLS_DC);
#define ZEND_FETCH_CLASS_GLOBAL 4
#define ZEND_FETCH_CLASS_AUTO 5
#define ZEND_FETCH_CLASS_INTERFACE 6
+#define ZEND_FETCH_CLASS_STATIC 7
#define ZEND_FETCH_CLASS_RT_NS_CHECK 0x20
#define ZEND_FETCH_CLASS_RT_NS_NAME 0x40
#define ZEND_FETCH_CLASS_NO_AUTOLOAD 0x80