summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 4a99396a92..180462ed2d 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -435,8 +435,9 @@ void execute_new_code(CLS_D)
ELS_FETCH();
if (!EG(interactive)
- || CG(active_op_array)->backpatch_count>0) {
-
+ || CG(active_op_array)->backpatch_count>0
+ || CG(active_op_array)->function_name
+ || CG(active_op_array)->type!=ZEND_USER_FUNCTION) {
return;
}
CG(active_op_array)->start_op_number = CG(active_op_array)->last_executed_op_number;