Test 'finally' block compiler.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-06-04 07:39:30 +02:00
parent 045ebe92ae
commit 84b5fd2717
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ class Program {
throw new NewException("Catch me once", 1);
} catch(Exception $e) {
ExceptionHandler::handleException($e);
} finally {
print("Called finally block 1\n");
}
throw new Exception("Catch me twice", 2);
}