Q. Which function in PHP returns the last error that occurred?
β
Correct Answer: (A)
error_get_last()
Explanation: error_get_last() returns the last error that occurred.