View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000249 | Xdebug | Uncategorized | public | 2007-03-30 15:24 | 2019-05-03 14:52 |
| Reporter | derick | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0000249: Xdebug's error handler messes up with fatal to exception error conversions | ||||
| Description | |||||
| Additional Information | try { | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.2-dev | ||||
|
|
I just ran into the same problem. Is this going to be fixed? |
|
|
this is still an issue |
|
|
We are also having this issue. |
|
|
It looks like the problem is that the soap extension registers its own zend_error_cb which checks if the error was caused by SOAP and if so, it converts the errors to exceptions. Xdebug also registers its own zend_error_cb and ignores the old_error_cb (except when disabling or destructing). It looks like the fix needed is to call the old_error_cb first and then to do the xdebug stuff. Or somehow make sure that Xdebug modifies the zend_error_cb before soap. |
|
|
I can't detect very easily whether SOAP is in use, and chaining is also not possible as the old error handler already shows the warning. I added a hack that should prevent Xdebug from using its error handler in case SOAP is in use (by checking for the HTTP_SOAPACTION $_SERVER variable. This seems to alleviate the issue for me. I added this "hack" in Xdebug CVS (HEAD only). |