Mantis - Quercus
Viewing Issue Advanced Details
2134 minor always 11-01-07 01:14 11-04-07 08:34
koreth  
ferg  
normal  
closed 3.1.4  
fixed  
none    
none 3.1.4  
0002134: Exception subclasses not caught
<?php
class MyException extends Exception { }
function foo() { throw new MyException(); }
try { foo(); } catch (Exception $e) { print "caught it\n"; }


Vanilla PHP prints "caught it". Quercus prints an "uncaught exception of type MyException" error.

Notes
(0002436)
koreth   
11-02-07 11:22   
This is fixed in interpreted mode but still breaks in compiled mode (10/30 snapshot)
(0002439)
ferg   
11-04-07 08:34   
php/0g0f