RE: [PHP-WIN] PHP 5 try catch block

From: Date: Mon, 17 May 2004 21:10:04 +0000
Subject: RE: [PHP-WIN] PHP 5 try catch block
Groups: php.windows 
Request: Send a blank email to php-windows+get-23745@lists.php.net to get a copy of this message
What is generating these exceptions? Java? -----Original Message----- From: Charles P. Killmer To: php-windows@lists.php.net 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 CharlesK@NetgainTechnology.com Office: (320) 251-4700 ext 107

« previous php.windows (#23745) next »