summaryrefslogtreecommitdiff
path: root/phpdbg_print.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2013-11-24 22:37:16 +0100
committerBob Weinand <bobwei9@hotmail.com>2013-11-24 22:37:16 +0100
commitf81a621f6fccb0eb2939236cf227c5d0468c3b3b (patch)
treed5d727205c928bcd17a08431922ac8b8e9b1ed88 /phpdbg_print.c
parentcc51537e5eaa545832f0531e7cc503bbbd5afb99 (diff)
parentfbfb216966cf9e60ecbcf6d4b8a071ca87d10812 (diff)
downloadphp-git-f81a621f6fccb0eb2939236cf227c5d0468c3b3b.tar.gz
Merge branch 'master' of https://github.com/krakjoe/phpdbg
Diffstat (limited to 'phpdbg_print.c')
-rw-r--r--phpdbg_print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpdbg_print.c b/phpdbg_print.c
index 67a0f3381d..e4ee5f95f1 100644
--- a/phpdbg_print.c
+++ b/phpdbg_print.c
@@ -51,14 +51,14 @@ static inline void phpdbg_print_function_helper(zend_function *method TSRMLS_DC)
if (method->common.scope) {
phpdbg_writeln(
- "\t#%d-%d %s::%s() %s",
+ "\tL%d-%d %s::%s() %s",
op_array->line_start, op_array->line_end,
method->common.scope->name,
method->common.function_name,
op_array->filename ? op_array->filename : "unknown");
} else {
phpdbg_writeln(
- "\t#%d-%d %s() %s",
+ "\tL%d-%d %s() %s",
method->common.function_name ? op_array->line_start : 0,
method->common.function_name ? op_array->line_end : 0,
method->common.function_name ? method->common.function_name : "{main}",
@@ -70,7 +70,7 @@ static inline void phpdbg_print_function_helper(zend_function *method TSRMLS_DC)
char *decode = phpdbg_decode_opline(op_array, opline, &vars TSRMLS_CC);
if (decode != NULL) {
phpdbg_writeln(
- "\t\t#%u\t%p %-30s %s",
+ "\t\tL%u\t%p %-30s %s",
opline->lineno,
opline,
phpdbg_decode_opcode(opline->opcode),