View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001163 | Xdebug | Uncategorized | public | 2015-06-18 07:25 | 2015-06-18 09:31 |
| Reporter | zorrocaesar | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | duplicate | ||
| Product Version | 2.3.1 | ||||
| Fixed in Version | 2.3.3 | ||||
| Summary | 0001163: XDebug casts exception codes to integer | ||||
| Description | When a class that extends \Exception overwrites the exception code with a string (this is possible and accepted according to PHP docs) is thrown, the resulting exception, when caught, will cast the string in the exception code to a integer. | ||||
| Steps To Reproduce | try { | ||||
| Additional Information | This behavior occurs even when no XDebug session is started. Simply removing the extension, will also eliminate this behavior. | ||||
| Tags | No tags attached. | ||||
| Operating System | Linux | ||||
| PHP Version | 5.5.20-5.5.25 | ||||
|
|
This is a duplicate of: http://bugs.xdebug.org/view.php?id=1160 |
|
|
It's a duplicate of 0001133 too, which I've already fixed. I've verified it with your example too. Thanks for the report! |