View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001989 | Xdebug | Profiling | public | 2021-06-28 19:59 | 2021-10-04 09:32 |
| Reporter | trowbot | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.0.4 | ||||
| Target Version | 3.1dev | Fixed in Version | 3.1.0 | ||
| Summary | 0001989: Profiling does not output correct class when parent keyword is used | ||||
| Description | In the given test case, class B's constructor calls class A's constructor, however, there is no mention of A->__construct in the cachegrind file. Instead, the cachegrind file makes it look as though class B is calling its constructor recursively. | ||||
| Steps To Reproduce | Profile the following test case and view the resulting cachegrind file: <?php class A class B extends A new B(); | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 7.4.10-7.4.19 | ||||