Try catch block can not prevent run time exception in my Laravel code. I wrote following code to test the exception handling:
try{
$a=112/0;
}catch(Exception $e){
$a=99;
}
But it returns a Run time error. Please help me to solve the issue.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire