Anonymous | Login | Signup for a new account | 12-17-2024 10:35 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003292 | [Quercus] | block | always | 01-21-09 23:01 | 01-22-09 10:38 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.0 | Product Version | 4.0.0 | ||||
Product Build | |||||||||
Summary | 0003292: exit() doesn't work in compiled mode if exception handler is active | ||||||||
Description |
<?php try { exit(0); } catch (Exception $e) { print "exception"; } This prints nothing in regular PHP and in Quercus in interpreted mode. In compiled mode it prints "exception". This is causing problems with some of our login code which expects to be able to exit after outputting a login form, but instead an exception handler catches the exit and the page continues to run. |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |