View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000651 | Xdebug | Uncategorized | public | 2011-01-05 22:45 | 2011-01-10 21:08 |
| Reporter | cbandy | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | Gentoo | OS Version | stable |
| Product Version | 2.1.0 | ||||
| Summary | 0000651: Incorrect code coverage after empty() in conditional when using XDEBUG_CC_UNUSED | ||||
| Description | When In the below example, line 8 is not reported as covered. Removing the bang has no effect. | ||||
| Steps To Reproduce | Script: <?php xdebug_start_code_coverage(XDEBUG_CC_UNUSED); function repeat($x) repeat(0); print_r(xdebug_get_code_coverage()); Actual Result: Array ) Expected Result: Array ) | ||||
| Additional Information | PHP 5.3.4-pl0-gentoo | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.3.3 | ||||