Okay, so I'm new to error handling, and I've seen some examples but I havent seen an answer for this question. I'll use some real basic example code to show what I'm asking.
if(some condition){
throw Exception()
}
//Some random code in between
echo "Code between throw() and Catch()";
catch(Exception $e){
//handle the caught exception
}
So basically, my question is this - if the condition in the if() causes the exception to be thrown, will the random echo statement execute, or will it skip and go straight to the catch() of the exception?