How do you throw an exception in PHP?
Correct Answer: throw new Exception(message);
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
What does ctype_digit() do?
Which superglobal variable holds information about header, paths and script locations?
Which is true with respect to Flyweight design pattern in PHP?
What will be the output?
Correct statement about setcookie() function:
What variable scope would you use if you wanted a function variable which does not discard it's value when the function has completed execution?
What's the output? $array[]='value';
In PHP, the die() and exit() language constructs perform the same function.
Self-contained collections of functions AND properties are referred to as
Default maximum execution time for a PHP script?