#89 closed defect (fixed)
PHP does not catch exceptions when xcache.optimizer = On
| Reported by: | ipavlov@… | Owned by: | moo |
|---|---|---|---|
| Priority: | major | Milestone: | 2.0.0 |
| Component: | cacher | Version: | 2.0.0 |
| Keywords: | Cc: | ||
| Application: | PHP Version: | 5.2.0-10 | |
| Other Exts: | SAPI: | FastCGI | |
| Probability: | Blocked By: | ||
| Blocking: |
Description
I am running PHP 5.2.0-10 . When xcache.optimizer=On the following code does not catch the Exception. With optimizer=Off it does...
try {
throw new Exception('sas');
} catch (Exception $uuu) {
var_dump($uuu);
}
Change History (5)
comment:1 Changed 6 years ago by judas_iscariote
comment:3 Changed 6 years ago by moo
btw, the optimizer in 2.0 currently is in the state that only preparation/framework and need to be fixed/improved. if it's strong/advanced enough, we can implement the detail of optimizer easily and cleanly
comment:4 Changed 6 years ago by moo
- Milestone set to 2.0.0
- Resolution set to fixed
- Status changed from assigned to closed
fixed in [369]
comment:5 Changed 11 months ago by moo
- Milestone changed from 2.2.0 to 2.0.0
- pending set to 0
Note: See
TracTickets for help on using
tickets.


DO not use trunk in any production activity, it is not even ready for testing yet, use the 1.2 branch instead, the optimizer is specially new and is very likely to have many bugs like this.