What is generating these exceptions? Java?
-----Original Message-----
From: Charles P. Killmer
To: [EMAIL PROTECTED]
Sent: 17-5-2004 19:50
Subject: [PHP-WIN] PHP 5 try catch block
Has anyone figured out how to catch fatal errors? Something like a
script like this with an obvivous parse error.
<?php
try {
bar = foo;
} catch (Exception $exception) {
echo "hello";
}
?>
I want to know how to catch any klind of error so I can deal with it
gracefully instead of crashing the CGI.
Charles Killmer
Netgain Technology
[EMAIL PROTECTED]
Office: (320) 251-4700 ext 107
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php