Q. Which function in PHP returns the last error that occurred?

  • (A) error_get_last()
  • (B) get_last_error()
  • (C) last_error()
  • (D) error_last()
πŸ’¬ Discuss
βœ… Correct Answer: (A) error_get_last()
Explanation: error_get_last() returns the last error that occurred.
Explanation by: Rati Dubey
error_get_last() returns the last error that occurred.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
90
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
98%
Success Rate