Try-catch blocks now support a finally block for cod. The finally block is executed even if an unexpected exception occurs.

[sourcecode]
try {
//your code.
}
catch (Exception $e) {
echo ‘Error!’;
}
finally {
echo ‘Unexpected exception occurs’;
}
[/sourcecode]