PHP - Error and Exception Handling
Which keyword is used to create a custom exception class in PHP?
Which keyword is used to create a custom exception class in PHP?
class keyword to declare any class, including custom exceptions.function defines functions, exception is not a keyword, and throw is used to throw exceptions, not declare them.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions