View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001883 | Xdebug | Uncategorized | public | 2020-11-11 10:33 | 2020-11-14 16:15 |
Reporter | Sarunas | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 3.0.0beta1 | ||||
Target Version | 3.0.0RC1 | Fixed in Version | 3.0.0RC1 | ||
Summary | 0001883: Function xdebug_is_enabled has been removed | ||||
Description | XDebug 2.x used to have an (undocumented?) function For example, Symfony DI uses this function ( https://github.com/symfony/symfony/blob/b285584e77e69ad9740711a12581c3fce46535ee/src/Symfony/Component/DependencyInjection/Exception/AutowiringFailedException.php#L26 ) to work around a different problem ( https://github.com/symfony/symfony/pull/30589 ). After upgrading XDebug to v3, I started hitting this Symfony problem, and eventually found that this missing function is the reason. | ||||
Steps To Reproduce | ; the PHP version I'm using
; xdebug 2.x
; xdebug 3.x
| ||||
Tags | No tags attached. | ||||
Operating System | Windows 10 | ||||
PHP Version | 7.3.10-7.3.14 | ||||
|
It was undocumented and hence it should not have been relied on. I have added its removal to the upgrade guide (https://3.xdebug.org/docs/upgrade_guide#Changes-to-Functions). If you want to talk about why that workaround was required and figure out a different one, please reach out through email. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-11-11 10:33 | Sarunas | New Issue | |
2020-11-11 12:43 | derick | Assigned To | => derick |
2020-11-11 12:43 | derick | Status | new => resolved |
2020-11-11 12:43 | derick | Resolution | open => no change required |
2020-11-11 12:43 | derick | Fixed in Version | => 3.0.0RC1 |
2020-11-11 12:43 | derick | Note Added: 0005516 | |
2020-11-11 12:43 | derick | Summary | Function xdebug_is_enabled is not defined => Function xdebug_is_enabled has been removed |
2020-11-14 16:15 | derick | Target Version | => 3.0.0RC1 |