The base class for all exceptions in PHP is ________.
- Exception
- Throwable
- Error
- RuntimeException
In PHP, the base class for all exceptions is 'Throwable.' It serves as the base class for both exceptions and errors.
Loading...
Related Quiz
- What is the goto statement useful for?
- You have a PHP script and you need to move an uploaded file to a specific directory. How would you do this?
- What is the main purpose of a constructor in a PHP class?
- In PHP, the ________ function can be used to count the number of elements in an array, which can be useful when processing multiple form fields.
- PHP is a server-side ______ language.