error_reporting()try {} catch {}blocksset_error_handler()
try {
throw new Exception("Error occurred!");
} catch (Exception $e) {
echo $e->getMessage();
}
error_reporting()try {} catch {} blocksset_error_handler()try {
throw new Exception("Error occurred!");
} catch (Exception $e) {
echo $e->getMessage();
}
Leave a Reply