From 166266df68db50c4d1119f2be265972c8d77f1af Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Sat, 29 Sep 2007 07:28:34 +0000 Subject: Added support for Late Static Binding. (Dmitry, Etienne Kneuss) --- Zend/zend_compile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zend/zend_compile.h') 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 -- cgit v1.2.1