View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002274 | Xdebug | Step Debugging | public | 2024-06-17 22:44 | 2024-07-10 16:02 |
Reporter | tefxacn | Assigned To | derick | ||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | not fixable | ||
Product Version | 3.3.2 | ||||
Summary | 0002274: xdebug_start_function_monitor doesn't work with "exit" | ||||
Description | xdebug_start_function_monitor doesn't track calls to "exit(1)" | ||||
Steps To Reproduce |
It will report an empty array, but I'd expect it to be non-empty since "exit(1)" was called. | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 8.2.0-8.2.9 | ||||
|
exit isn't a function in PHP, but a language construct. There are some plans of changing this: https://wiki.php.net/rfc/exit-as-function |
|
This can currently not be fixed, as exit isn't a function in PHP, but a language construct. When (or rather, if) exit becomes a function as per a suggestion in https://wiki.php.net/rfc/exit-as-function, this will magically start working. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-06-17 22:44 | tefxacn | New Issue | |
2024-06-17 23:02 | derick | Note Added: 0006974 | |
2024-07-10 16:02 | derick | Assigned To | => derick |
2024-07-10 16:02 | derick | Status | new => resolved |
2024-07-10 16:02 | derick | Resolution | open => not fixable |
2024-07-10 16:02 | derick | Note Added: 0006987 |