diff options
Diffstat (limited to 'Zend/zend_execute.c')
| -rw-r--r-- | Zend/zend_execute.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 2407e4768f..7b4e912af7 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -967,7 +967,9 @@ void execute(zend_op_array *op_array ELS_DC) #else temp_variable Ts[op_array->T]; #endif + zend_bool original_in_execution=EG(in_execution); + EG(in_execution) = 1; #if SUPPORT_INTERACTIVE if (EG(interactive)) { opline = op_array->opcodes + op_array->start_op_number; @@ -1649,6 +1651,7 @@ do_fcall_common: op_array->last_executed_op_number = opline-op_array->opcodes; #endif free_alloca(Ts); + EG(in_execution) = original_in_execution; return; } break; |
