]> granicus.if.org Git - php/commitdiff
*** empty log message ***
authorZeev Suraski <zeev@php.net>
Wed, 11 Oct 2000 18:36:02 +0000 (18:36 +0000)
committerZeev Suraski <zeev@php.net>
Wed, 11 Oct 2000 18:36:02 +0000 (18:36 +0000)
Zend/zend_execute.c

index 7721dac7034579502931b81bdf9f80ed7337138c..c7f4d759c18d46dd891eb6be60e943c93e1cea86 100644 (file)
@@ -2326,7 +2326,12 @@ send_by_ref:
                }
        }
 #if SUPPORT_INTERACTIVE
+       ALLOC_ZVAL(*(EG(return_value_ptr_ptr)));
+       **EG(return_value_ptr_ptr) = *retval_ptr;
+       (*EG(return_value_ptr_ptr))->refcount = 1;
+       (*EG(return_value_ptr_ptr))->is_ref = 0;
        op_array->last_executed_op_number = opline-op_array->opcodes;
+       EG(in_execution) = original_in_execution;
        free_alloca(Ts);
 #else
        zend_error(E_ERROR,"Arrived at end of main loop which shouldn't happen");