Test 'finally' block compiler.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
045ebe92ae
commit
84b5fd2717
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue