diff options
| author | Andi Gutmans <andi@php.net> | 1999-07-29 12:24:58 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 1999-07-29 12:24:58 +0000 |
| commit | 739132e58dfc1b411f6ba7be4d47814c1d7bbb90 (patch) | |
| tree | 920d2ea7f5d7c5450a084ec3aa0f6cf28d8fc600 /Zend/zend_compile.h | |
| parent | e3246872e3d44ddc853e3bb5a0be37cec11d914b (diff) | |
| download | php-git-739132e58dfc1b411f6ba7be4d47814c1d7bbb90.tar.gz | |
- Fixed a leak when doing inheritance. The parent class name wasn't being freed.
- Fixed a stack leak. Functions that had late argument binding were set up as
INIT_FCALL_BY_NAME but were using DO_FCALL and not the corresponding
DO_FCALL_BY_NAME.
Diffstat (limited to 'Zend/zend_compile.h')
| -rw-r--r-- | Zend/zend_compile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 903aeb4527..c820ad8824 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -260,10 +260,10 @@ void do_add_variable(znode *result, znode *op1, znode *op2 CLS_DC); void do_begin_function_declaration(znode *function_token, znode *function_name, int is_method CLS_DC); void do_end_function_declaration(znode *function_token CLS_DC); void do_receive_arg(int op, znode *var, znode *offset, znode *initialization, unsigned char pass_type CLS_DC); -void do_begin_function_call(znode *function_name CLS_DC); +int do_begin_function_call(znode *function_name CLS_DC); void do_begin_dynamic_function_call(znode *function_name CLS_DC); void do_begin_class_member_function_call(znode *class_name, znode *function_name CLS_DC); -void do_end_function_call(znode *function_name, znode *result, znode *argument_list, int is_method CLS_DC); +void do_end_function_call(znode *function_name, znode *result, znode *argument_list, int is_method, int is_dynamic_fcall CLS_DC); void do_return(znode *expr CLS_DC); ZEND_API int do_bind_function_or_class(zend_op *opline, HashTable *function_table, HashTable *class_table, int allow_failure); void do_early_binding(CLS_D); |
