View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001417 | Xdebug | Uncategorized | public | 2017-04-11 09:38 | 2017-04-14 11:41 |
| Reporter | LanaZem | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.5.1 | ||||
| Target Version | 2.5.2 | Fixed in Version | 2.5.2 | ||
| Summary | 0001417: Switching from global function to static method crashes execution | ||||
| Description | Create a script with a static method and global function, call a global function within a static method. If script is paused inside global function retrieving parent context will crash execution, i.e. <- context_get -i 16 -d 1 -c 0 I've attached the whole log file to the issue. | ||||
| Steps To Reproduce | 1) Create a php script: <?php class Bar { function foo() { Bar::f2(); 2) Put a breakpoint on "echo "hi"" line and start debugging. 3) Try to retrieve context for Expected: Actual: | ||||
| Additional Information | The issue is reproduced for XDebug 2.5.1 + PHP 7.1.1. The issue is not reproducible if Corresponding PhpStorm issue: https://youtrack.jetbrains.com/issue/WI-35562 | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 7.1.0-7.1.4 | ||||