diff options
author | Zeev Suraski <zeev@php.net> | 2004-02-04 16:30:15 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2004-02-04 16:30:15 +0000 |
commit | c5d842279c592cc2637d2c355761741cc03ab2a0 (patch) | |
tree | 2f03655e980744594b73b9a142beb3a5d139cecf /Zend/zend_compile.h | |
parent | 723641590a376fea3ae3fe503785cc037ca304ef (diff) | |
download | php-git-c5d842279c592cc2637d2c355761741cc03ab2a0.tar.gz |
Reinstate early-binding for classes.
Note that this is available for downwards compatibility only - and it doesn't
work if you use new features (namely, interfaces). Generally, people should
declare their classes before using them, but we just didn't want hell to break
loose (c)
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r-- | Zend/zend_compile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 98226c21cf..f138561671 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -367,9 +367,9 @@ void zend_do_begin_catch(znode *try_token, znode *catch_class, znode *catch_var, void zend_do_end_catch(znode *try_token TSRMLS_DC); void zend_do_throw(znode *expr TSRMLS_DC); -ZEND_API int do_bind_function(zend_op *opline, HashTable *function_table, HashTable *class_table, int compile_time); -ZEND_API zend_class_entry *do_bind_class(zend_op *opline, HashTable *function_table, HashTable *class_table TSRMLS_DC); -ZEND_API zend_class_entry *do_bind_inherited_class(zend_op *opline, HashTable *function_table, HashTable *class_table, zend_class_entry *parent_ce TSRMLS_DC); +ZEND_API int do_bind_function(zend_op *opline, HashTable *function_table, zend_bool compile_time); +ZEND_API zend_class_entry *do_bind_class(zend_op *opline, HashTable *class_table, zend_bool compile_time TSRMLS_DC); +ZEND_API zend_class_entry *do_bind_inherited_class(zend_op *opline, HashTable *class_table, zend_class_entry *parent_ce, zend_bool compile_time TSRMLS_DC); ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC); ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC); void zend_do_implements_interface(znode *interface_znode TSRMLS_DC); |