View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000490 | Xdebug | Uncategorized | public | 2009-11-20 14:05 | 2009-11-23 12:11 |
| Reporter | rdohms | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | unable to reproduce | ||
| Platform | MAC | OS | OSX | OS Version | 10.6 |
| Product Version | 2.0.0dev | ||||
| Summary | 0000490: Code Coverage Skips line with -= Operator | ||||
| Description | When executing a code that uses a -= operator that line is not tagged as executed, even though it is. | ||||
| Steps To Reproduce | <?php xdebug_start_code_coverage(); class CodeCoverageBug
} $c = new CodeCoverageBug(); var_dump(xdebug_get_code_coverage()); | ||||
| Additional Information | output: Expected output Line 12 which is the line with the operator is not tagged as executed, even further when using XDEBUG_CC_UNUSED it returns as -1 | ||||
| Tags | No tags attached. | ||||
| Operating System | Mac OSX 10.6 | ||||
| PHP Version | 5.3.0 | ||||
|
|
I really need the script as well to go with this bug. |
|
|
Mantis is not giving me the option to attach a file, so the code is here: http://pastebin.com/f608c0ec2 |
|
|
I get the correct result — try latest CVS please? array(1) { |