View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000789 | Xdebug | Uncategorized | public | 2012-03-06 12:24 | 2012-03-07 19:35 |
| Reporter | Fraak | Assigned To | |||
| Priority | high | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| Summary | 0000789: Try catch in Try catch will always throw exception | ||||
| Description | When you have a Try catch block within a try catch block the exception always gets thrown. Even if you have called xdebug_disable(); | ||||
| Steps To Reproduce | xdebug_disable(); echo " end"; | ||||
| Additional Information | Expected output would be "first try end" Actual output is the exception message of "some exception". | ||||
| Tags | No tags attached. | ||||
| Operating System | Windows + Zend Server CE | ||||
| PHP Version | 5.3.9 | ||||
|
|
I tried with a clean PHP 5.3.9 + XDebug 2.1.3 from CLI and it works as expected then. Therefore I figure this is a issue in combination with Zend CE. Zend Server CE runs php as CGI then this error occours. Also noticed that when you disable Zend Optimizer+ the error does not occour. |
|
|
Xdebug is not compatible with Zend Optimizer+, because it changes how PHP executes things. Marking this one as resolved. |