View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000445 | Xdebug | Uncategorized | public | 2009-06-16 03:11 | 2009-07-05 22:20 |
| Reporter | kent | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.0.0dev | ||||
| Summary | 0000445: error_prepend_string and error_append_string are ignored by xdebug_error_cb | ||||
| Description | xdebug_error_cb does not output PHP ini settings error_prepend_string, or error_append_string | ||||
| Additional Information | On our developement systems, we use a specially crafted error_prepend_string and error_append_string to both highlight errors on scripts, but also as a means of automated testing using Selenium. When a specific error string is output on a web page, we can automatically detect the error on PHP pages. Since we have recently switched to Xdebug and Netbeans, the errors were not being detected, and after investigation it turns out the Xdebug was the culprit. The fix is simple. The following patch can be applied to xdebug.c version 2.0.4: 1812a1813,1814
It mostly patches the get_printable_stack function. Thanks for a great tool! | ||||
| Tags | No tags attached. | ||||
| Operating System | FreeBSD 7.2 RELEASE | ||||
| PHP Version | 5.2.8 | ||||