Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002159 [Quercus] minor always 11-09-07 00:56 11-14-07 21:18
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.1.4
Summary 0002159: "*" at the end of a comment line causes line number to double-increment
Description <?php
function back() {
        print "
" . print_r(debug_backtrace(), true) . "
";
}

back(); // this is line 6 and shows up as line 6 in the trace
/**
 */
back(); // this is line 9 but shows up as line 10 in the trace
Additional Information My fix for the bug is attached.
Attached Files  patch.txt [^] (593 bytes) 11-09-07 00:56

- Relationships

- Notes
(0002470)
koreth
11-09-07 00:57

Hmm, Mantis didn't quote my "pre" and "/pre" tags in the example code. The body of the back() function should be on one line.
 
(0002497)
nam
11-14-07 21:18

php/001d
 

- Issue History
Date Modified Username Field Change
11-09-07 00:56 koreth New Issue
11-09-07 00:56 koreth File Added: patch.txt
11-09-07 00:57 koreth Note Added: 0002470
11-14-07 21:09 nam Status new => assigned
11-14-07 21:09 nam Assigned To  => nam
11-14-07 21:18 nam Status assigned => closed
11-14-07 21:18 nam Note Added: 0002497
11-14-07 21:18 nam Resolution open => fixed
11-14-07 21:18 nam Fixed in Version  => 3.1.4


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker