View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000472 | Xdebug | Uncategorized | public | 2009-09-19 00:14 | 2009-10-15 17:25 |
| Reporter | auroraeosrose | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.0.0dev | ||||
| Summary | 0000472: Dead Code Analysis for code coverage messed up after goto | ||||
| Description | in 5.3 the following code if ($foo) { The bottom closing brace always shows up as an "uncovered" line of code | ||||
| Tags | No tags attached. | ||||
| Operating System | N/A | ||||
| PHP Version | 5.3.0 | ||||
|
|
I can not reproduce this with Xdebug from CVS/HEAD: derick@kossu:~/dev/php/xdebug/tests$ cat bug00472test.php derick@kossu:~/dev/php/xdebug/tests$ cat bug00472.phpt
} derick@kossu:~/dev/php/xdebug/tests$ phpunit --coverage-html /tmp/report bug00472test.php Marks line 10 as grey, and line 11 as red. |
|
|
put another if anotherneath it class GotoTest
} |
|
|
That creates: http://files.derickrethans.nl/bug472.png which is what I would expect. Do you get something else? |
|
|
Fixed in CVS (HEAD only) |