diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-04-25 19:10:43 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-04-25 19:10:58 +0200 |
commit | a9a6799964c76dee70b19430d51d466097198783 (patch) | |
tree | 62d21b4e6ce0567f11e1a5fd56ccafca6b282ea9 /sapi/phpdbg/phpdbg_print.c | |
parent | 300b1db09fc093c7224bb3e1016534378fcf92bc (diff) | |
download | php-git-a9a6799964c76dee70b19430d51d466097198783.tar.gz |
Add line_start/end info to main op_array
Diffstat (limited to 'sapi/phpdbg/phpdbg_print.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_print.c b/sapi/phpdbg/phpdbg_print.c index c1cea6ede0..101120bc82 100644 --- a/sapi/phpdbg/phpdbg_print.c +++ b/sapi/phpdbg/phpdbg_print.c @@ -73,8 +73,8 @@ static inline void phpdbg_print_function_helper(zend_function *method) /* {{{ */ op_array->last); } else { phpdbg_writeln("printoplineinfo", "type=\"User\" startline=\"%d\" endline=\"%d\" function=\"%s\" file=\"%s\" opline=\"%p\"", "L%d-%d %s() %s - %p + %d ops", - method->common.function_name ? op_array->line_start : 0, - method->common.function_name ? op_array->line_end : 0, + op_array->line_start, + op_array->line_end, method->common.function_name ? method->common.function_name->val : "{main}", op_array->filename ? op_array->filename->val : "unknown", opline, |