]> granicus.if.org Git - php/commitdiff
windows
authorkrakjoe <joe.watkins@live.co.uk>
Sun, 2 Feb 2014 15:14:25 +0000 (15:14 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Sun, 2 Feb 2014 15:14:25 +0000 (15:14 +0000)
phpdbg_prompt.c

index 529ab04194d4b7f29d539efb608b99ada6f8e818..f586bb5a84f5ada451ce017b58e42f39061a5c77 100644 (file)
@@ -552,6 +552,7 @@ PHPDBG_COMMAND(run) /* {{{ */
                zend_op_array *orig_op_array = EG(active_op_array);
                zval **orig_retval_ptr = EG(return_value_ptr_ptr);
                zend_bool restore = 1;
+               zend_execute_data *ex = EG(current_execute_data);
                
                if (!PHPDBG_G(ops)) {
                        if (phpdbg_compile(TSRMLS_C) == FAILURE) {
@@ -567,7 +568,6 @@ PHPDBG_COMMAND(run) /* {{{ */
                }
 
                /* clean up from last execution */
-               zend_execute_data *ex = EG(current_execute_data);
                if (ex && ex->symbol_table) {
                        zend_hash_clean(ex->symbol_table);
                }