--TEST-- set_exception_handler() in phpdbg --PHPDBG-- r c q --EXPECTF-- [Successful compilation of %s] prompt> [Uncaught Exception in %s on line 4: test] >00004: throw new Exception("test"); 00005: prompt> EX [Script ended normally] prompt> --FILE--