What is a good way to capture errors that occur.  I've tried the
following code in development, but it still spits out an error (Parse
error: syntax error, unexpected '}', expecting ',' or ';' in
X:\xxxx\xxxx\xxxx.php on line 7)

<?
// error handling test

try{
 $test = 1;
 echo $test1
}
catch (Exception $e) {
print "Exception caught\n";
}
?>

Thanks.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to