Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] 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  
Status closed   Product Version 4.0.0
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.
Additional Information
Attached Files

- Relationships

- Notes
(0003776)
nam
01-22-09 10:38

php/3g12
 

- Issue History
Date Modified Username Field Change
01-21-09 23:01 koreth New Issue
01-22-09 10:38 nam Status new => assigned
01-22-09 10:38 nam Assigned To  => nam
01-22-09 10:38 nam Status assigned => closed
01-22-09 10:38 nam Note Added: 0003776
01-22-09 10:38 nam Resolution open => fixed
01-22-09 10:38 nam Fixed in Version  => 4.0.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker