In PHP 7.1, under which of the following types of scenarios, a TypeError may be thrown?
i) When the argument type, which is being passed to a function, does not match its corresponding declared parameter type.
ii) When the returned value from a function does not match the declared function return type.
iii) When an invalid number of arguments are passed to a built-in PHP function.
Correct Answer:
All options i), ii) and iii).
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More PHP 5 MCQ Questions