Ok, just a technical question about the code above:
foreach($x as $y){ // or even a simple for()
try{
a();
} catch(\Exception $e){
// just skip current iteration
continue;
} finally {
c();
}
}
Since c() is in the finally block it should be always executed, but what about the continue statement?
According to the documentation it appears to be making the finally block being skipped.
So, does c() be executed in case of a() throwing an exception?