if i have the below statment
function case(){ switch($i){ case "foo": return "foo"; break; case "bar": return "bar"; break; } }
once the return is reached the function and case statment are immediatly exited right?
Thanks
Jesse
Yes, let's say it finds foo, then when it comes to break;, then it will stop!