πŸ“Š PHP
Q. Which PHP function is used to manually throw an exception?
  • (A) exception()
  • (B) throw
  • (C) raise()
  • (D) error()
πŸ’¬ Discuss
βœ… Correct Answer: (B) throw

Explanation: throw keyword is used to throw an exception.

Explanation by: Yami Thakur
throw keyword is used to throw an exception.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
2
Total Visits
πŸ“½οΈ
2 d ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
93%
Success Rate