View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001287 | Xdebug | Uncategorized | public | 2016-03-18 17:58 | 2016-05-10 19:45 |
| Reporter | eZH | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | not fixable | ||
| Product Version | 2.4.0 | ||||
| Summary | 0001287: Code coverage: foreach next cycle is reported as wrong line under PHP7 | ||||
| Description | See attached script. | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 7.0.0-7.0.4 | ||||
|
|
You are right that Code Coverage shows the wrong line. Unfortunately, this is PHP generates for this code: 1 <?php The following opcodes: line #* E I O op fetch ext return operands2 0 E > EXT_STMT Opcode 19 (FE_FREE) is the end of the foreach, but as you can see PHP still I recommend you file a bug report at http://bugs.php.net - and feel free to |