summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-27 11:00:59 +0000
committerZeev Suraski <zeev@php.net>1999-04-27 11:00:59 +0000
commit2493f6801815b4459a8bfb29085e448186f521c8 (patch)
tree6c2de6e1e28dcd2217d9aab7f8eea346c413a5f3 /Zend/zend_execute_API.c
parent1245356128de425b78ae9f69507ec89f16396644 (diff)
downloadphp-git-2493f6801815b4459a8bfb29085e448186f521c8.tar.gz
* Fix debugger+interactive mode bug
* Recognize whether an extension is with debug information or not
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;