diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2016-10-05 12:08:20 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2016-10-05 12:08:20 +0200 |
commit | eaff72f31b6322ff4b035b97af5ea1552b2281b7 (patch) | |
tree | 2510f2a7773958a862c69412eec15f41e5c0a322 | |
parent | 56e19b7c75b7a296705b63e29f183ad729800433 (diff) | |
download | php-git-eaff72f31b6322ff4b035b97af5ea1552b2281b7.tar.gz |
Remove phpdbg fix targeting 7.1 which landed in 7.0
-rw-r--r-- | sapi/phpdbg/phpdbg_list.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c index 74d35c7ce9..6895bea43e 100644 --- a/sapi/phpdbg/phpdbg_list.c +++ b/sapi/phpdbg/phpdbg_list.c @@ -316,17 +316,6 @@ zend_op_array *phpdbg_init_compile_file(zend_file_handle *file, int type) { dataptr = zend_hash_str_find_ptr(&PHPDBG_G(file_sources), filename, strlen(filename)); ZEND_ASSERT(dataptr != NULL); - if (op_array->vars) { - int i; - /* un-intern these strings to prevent zend_restore_strings from invalidating our string pointers too early */ - for (i = 0; i < op_array->last_var; i++) { - zend_string **s = op_array->vars + i; - if (ZSTR_IS_INTERNED(*s)) { - *s = zend_string_init(ZSTR_VAL(*s), ZSTR_LEN(*s), 0); - } - } - } - dataptr->op_array = *op_array; if (dataptr->op_array.refcount) { ++*dataptr->op_array.refcount; |