Mantis - Quercus
Viewing Issue Advanced Details
3209 minor always 12-29-08 20:08 01-04-09 18:39
koreth  
ferg  
urgent  
closed 4.0.0  
fixed  
none    
none 4.0.0  
0003209: instanceof doesn't work with Exception subclasses
<?php
class FooEx extends Exception { }
$x = new FooEx();
if ($x instanceof Exception) {
  print "yep\n";
} else {
  print "nope\n";
}

Regular PHP prints "yep". Quercus prints "nope".

Notes
(0003695)
ferg   
01-04-09 18:39   
php/03p3