Vidyalelo
PHP · Q6

Exceptions And Error Handling

Programming · PHP · question 6

Q6

Which version introduced the function error_get_last()?

A.
PHP 4
B.
PHP 5
C.
PHP 5.2
Answer
D.
PHP 5.3

Answer: Option C

Solution

Answer: Option C
Solution:
This function returns an associative array consisting of the type, message, file, and line of the last occurring error.