summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-07-31 13:23:30 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-07-31 13:23:45 +0200
commit590c5a7e501bec91c4f57813d167e870653f2451 (patch)
tree6ad64fad4b28030b188feb6211c58a67f0ea3f16
parent35b61e4f4da82f1aedd8adc0f20513188ccd19ac (diff)
downloadphp-git-590c5a7e501bec91c4f57813d167e870653f2451.tar.gz
Remove debug instructions (...)
-rw-r--r--sapi/phpdbg/phpdbg_list.c1
-rw-r--r--sapi/phpdbg/phpdbg_opcode.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c
index 7413ded884..89e352a971 100644
--- a/sapi/phpdbg/phpdbg_list.c
+++ b/sapi/phpdbg/phpdbg_list.c
@@ -320,7 +320,6 @@ zend_op_array *phpdbg_init_compile_file(zend_file_handle *file, int type) {
*dataptr->op_array->refcount = 2;
dataptr->destroy_op_array = 0;
}
- ++*dataptr->op_array->refcount;
}
return ret;
diff --git a/sapi/phpdbg/phpdbg_opcode.c b/sapi/phpdbg/phpdbg_opcode.c
index 8b6c964343..d8e8ebf1ce 100644
--- a/sapi/phpdbg/phpdbg_opcode.c
+++ b/sapi/phpdbg/phpdbg_opcode.c
@@ -211,8 +211,6 @@ void phpdbg_print_opline_ex(zend_execute_data *execute_data, zend_bool ignore_fl
cur->next = NULL;
PHPDBG_G(oplog_cur)->next = cur;
PHPDBG_G(oplog_cur) = cur;
-if (!execute_data->func->op_array.filename)
-printf("ALETR");
}
} /* }}} */