PHP 5 try catch block

From: Date: Mon, 17 May 2004 17:50:10 +0000
Subject: PHP 5 try catch block
Groups: php.windows 
Request: Send a blank email to php-windows+get-23743@lists.php.net to get a copy of this message
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 CharlesK@NetgainTechnology.com Office: (320) 251-4700 ext 107

« previous php.windows (#23743) next »