Hi All, I'm experiencing a strange problem which I cannot track down. On one server the following script runs as expected catching the Exception and print_r'ing it, however on a different server the Exception is never caught and instead a Fatal Error is being raised.
Here's the script:
<?php
try {
throw new Exception('Ooops!');
}
catch (Exception $e) {
echo '<pre>'. print_r($e, true) .'</pre>';
}
Any help most appreciated!
Phill "Milkman" Sparks
http://milk-hub.net
