com php-src: windows: phpdbg_prompt.c
| From: | Bob Weinand | Date: | Sun, 02 Feb 2014 15:16:01 +0000 |
| Subject: | com php-src: windows: phpdbg_prompt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77083@lists.php.net to get a copy of this message | ||
Commit: 891477dc1c3ae795708c022e3e023c5a7b7e0128
Author: krakjoe <joe.watkins@live.co.uk> Sun, 2 Feb 2014 15:16:01 +0000
Parents: f88ff6c661077df281ff16880f111a0d974e239c
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=891477dc1c3ae795708c022e3e023c5a7b7e0128
Log:
windows
Changed paths:
M phpdbg_prompt.c
Diff:
diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c
index 529ab04..f586bb5 100644
--- a/phpdbg_prompt.c
+++ b/phpdbg_prompt.c
@@ -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);
}