Problem Statement
What is the base class for all exceptions in PHP?
Explanation
The Exception class is the base for all exceptions. You can create your own exceptions by extending it.
Code Solution
SolutionRead Only
class MyError extends Exception {}