Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003180 [Quercus] major always 12-15-08 12:03 12-15-08 13:37
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.0
Summary 0003180: class_exists() throws exception when class doesn't exist
Description <?php
if (!class_exists('Foo')) {
  print "nope\n";
}

Bombs out in both interpreted and compiled modes:

com.caucho.quercus.QuercusException: 'Foo' is an unknown class
    at com.caucho.quercus.env.Env.findClass(Env.java:3840)
    at com.caucho.quercus.env.Env.findClass(Env.java:3812)
    at com.caucho.quercus.lib.ClassesModule.class_exists(ClassesModule.java:101)
Additional Information
Attached Files

- Relationships

- Notes
(0003643)
ferg
12-15-08 13:37

php/1j0j
 

- Issue History
Date Modified Username Field Change
12-15-08 12:03 koreth New Issue
12-15-08 13:37 ferg Note Added: 0003643
12-15-08 13:37 ferg Assigned To  => ferg
12-15-08 13:37 ferg Status new => closed
12-15-08 13:37 ferg Resolution open => fixed
12-15-08 13:37 ferg 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