try{
}
catch(Exception $e){
myfunction();
}
myfunction(Exception $e){
}
My declaration for myfunction() is obviously wrong. I need to declare $e (which would be an exception object) as an optional parameter/argument of the function myfunction().
anyone know how to do that?
thanks folks! 🆒