View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001411 | Xdebug | Uncategorized | public | 2017-04-01 08:59 | 2020-03-12 18:01 |
Reporter | sebastian | Assigned To | derick | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | irrelevant | OS | irrelevant | OS Version | irrelevant |
Product Version | 2.5.1 | ||||
Target Version | 2.6.0 | Fixed in Version | 2.6.0alpha1 | ||
Summary | 0001411: Use Error (Throwable) instead of fatal error when maximum nesting level is reached | ||||
Description | The fact that Xdebug triggers a fatal error is an anachronism that does not fit in this day and age of PHP 7. It would be great if Xdebug triggered an Error instead that can be handled using try/catch. | ||||
Steps To Reproduce | $ cat f.php <?php function f() { f(); } f(); $ php -d xdebug.max_nesting_level=2 f.php PHP Fatal error: Maximum function nesting level of '2' reached, aborting! in /home/sb/f.php on line 2 PHP Stack trace: PHP 1. {main}() /home/sb/f.php:0 PHP 2. f() /home/sb/f.php:3 | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.1.0-7.1.4 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2017-04-01 08:59 | sebastian | New Issue | |
2017-04-16 08:37 | derick | Status | new => confirmed |
2017-04-16 08:37 | derick | Target Version | => 2.6.0dev |
2017-04-17 19:46 | derick | Note Added: 0004274 | |
2017-04-17 19:46 | derick | Status | confirmed => closed |
2017-04-17 19:46 | derick | Assigned To | => derick |
2017-04-17 19:46 | derick | Resolution | open => fixed |
2017-04-17 19:46 | derick | Fixed in Version | => 2.6.0dev |
2017-12-02 15:57 | derick | Fixed in Version | 2.6.0dev => 2.6.0alpha1 |
2017-12-02 18:34 | derick | Target Version | 2.6.0dev => 2.6.0alpha1 |
2017-12-02 18:36 | derick | Target Version | 2.6.0alpha1 => 2.6.0 |
2020-03-12 16:55 | derick | Severity | major => feature |
2020-03-12 18:01 | derick | Category | Feature/Change request => Uncategorized |