On my XAMPP/Win XP build, PHP5.2.3 fails to catch any exceptions. None of the examples work, and this:
try {
throw new Exception('Fail');
} catch (Exception $e) {
echo 'Succeed';
}
...results in:
Fatal error: Uncaught exception 'Exception' with message 'Fail' in M:\path\to\test.php:4 Stack trace: #0 {main} thrown in M:\path\to\test.php on line 4
All of PHP's error settings seem standard. Server is Apache/2.2.4