Question: 1 1 . Modify the following PHP code in such a way that you trigger the exception - handling mechanism using the myException class. _
Modify the following PHP code in such a way that you trigger the exceptionhandling mechanism using the myException class.
new $msg $code;
Modify the following PHP code such that it runs cleanly.
do something, maybe throw some exceptions
Exception $e
handle exception
Modify the following code to trap exceptions of the myException class and store the results in the variable $e
catch
handle exception
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
