include_once('nwexceptions.php'); $a = array(); try { print $a['agon']; } catch (NoticeException $e) { print 'FIRST ERROR: '.$e; } try { include('a.php'); } catch (WarningException $e) { print 'SECOND ERROR: '.$e; }
info at phpclasses dot org