diff options
author | Dmitry Stogov <dmitry@php.net> | 2007-02-15 10:38:28 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2007-02-15 10:38:28 +0000 |
commit | 0291ad5fa68a3c87faba5c181d36ec2d5f6c2345 (patch) | |
tree | bc8700b873fcaf642c99606b9183c07076e94ed6 /Zend/zend_execute_API.c | |
parent | b997390e1d2c49c88d75c3a28572ff42fadd8d57 (diff) | |
download | php-git-0291ad5fa68a3c87faba5c181d36ec2d5f6c2345.tar.gz |
Fixed bug #40236 (php -a function allocation eats memory)
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index acc1349974..1ba358bc92 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -1197,7 +1197,7 @@ void execute_new_code(TSRMLS_D) zend_op *ret_opline; zval *local_retval=NULL; - if (!CG(interactive) + if (!(CG(active_op_array)->fn_flags & ZEND_ACC_INTERACTIVE) || CG(active_op_array)->backpatch_count>0 || CG(active_op_array)->function_name || CG(active_op_array)->type!=ZEND_USER_FUNCTION) { |