View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0002095 | Xdebug | Code Coverage | public | 2022-05-17 13:22 | 2022-05-25 15:34 | 
| Reporter | bradkent | Assigned To | derick | ||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | resolved | Resolution | no change required | ||
| Product Version | 3.1.3 | ||||
| Summary | 0002095: code coverage misses } elseif (\in_array()) { | ||||
| Description | combinations of "elseif" vs "else if" and "in_array" vs "\in_array" produce different results | ||||
| Steps To Reproduce | hit: hit: not hit | ||||
| Tags | No tags attached. | ||||
| Operating System | osx 10.14.6 | ||||
| PHP Version | 8.1.0-8.1.4 | ||||
|  | Can you provide a full parseable file please? | 
|  | Also a hit : so it's only when the array is defined "inline" | 
|  | <?php | 
|  | This is turning out to be a "bug" in PHP itself, where it does not generate appropriate EXT_STMT hook points for  | 
|  | As there is nothing for me to do here on the Xdebug side, now the fix has made it into PHP RCs, and will make it into the upcoming releases (php-8.1.7 and php-8.0.20), I am closing this out. Thanks for the report. | 
|  | thanks derick! | 
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2022-05-17 13:22 | bradkent | New Issue | |
| 2022-05-17 13:37 | derick | Assigned To | => derick | 
| 2022-05-17 13:37 | derick | Status | new => feedback | 
| 2022-05-17 13:37 | derick | Note Added: 0006304 | |
| 2022-05-17 13:39 | bradkent | Note Added: 0006305 | |
| 2022-05-17 13:39 | bradkent | Status | feedback => assigned | 
| 2022-05-17 13:41 | bradkent | Note Added: 0006306 | |
| 2022-05-18 10:10 | derick | Status | assigned => confirmed | 
| 2022-05-18 10:10 | derick | Note Added: 0006309 | |
| 2022-05-25 15:15 | derick | Status | confirmed => resolved | 
| 2022-05-25 15:15 | derick | Resolution | open => no change required | 
| 2022-05-25 15:15 | derick | Note Added: 0006318 | |
| 2022-05-25 15:34 | bradkent | Note Added: 0006319 | 
