open navigation menu
AiFolder
Tools for a smarter you
Discover
Tools
AI
Games
Interviews
Blog
More
Search AiFolder
Toggle theme
Toggle theme
Sign in
Exit
00:00
Submit test
PHP · Advanced
10 questions · Question 1 of 10
10%
Multiple Choice
Senior
Explain the Exception Hierarchy introduced in PHP7
A
Prior to PHP 7 alpha 2, the exception hierarchy in PHP 7 was different.
B
The require once() statement is identical to require() except PHP will check if the file has already been included, and if so, not include (require) it again.
C
Consider: function has string keys(array $array) { return count(array filter(array keys($array), 'is string')) 0; } If there is at least one string key, $array will be regarded as an associative array.
D
PHP supports only single inheritance; it means that a class can be extended from only one single class using the keyword 'extended'.
Previous
Next