Hi, I've got a problem with exceptions in PHP5. When I throw exception, it doesn't propagate through the stack and fails with unhandled exception error, when tryin to catch it somewhere else in the code. Here's example of code, which doesn't work on my Uniform Server, but it works on standard webhosting. <?php
function go($number) {
if ($number == 0) {
throw new Exception('Zero');
}
}
try {
go(0);
}
catch (Exception $e) {
echo $e->getMessage();
}
?> I've got the latest version of the Uniform Server - 3.5 Apollo. Please can anyone help? Thanks.