Q. What will happen if an exception is not caught in PHP?

  • (A) The script stops with a fatal error
  • (B) The script continues normally
  • (C) The script restarts
  • (D) Nothing happens
💬 Discuss
✅ Correct Answer: (A) The script stops with a fatal error
Explanation: If an exception is not caught, it causes a fatal error and stops script execution.
Explanation by: Rati Dubey
If an exception is not caught, it causes a fatal error and stops script execution.

💬 Discussion


📊 Question Analytics

👁️
83
Total Visits
📽️
1 y ago
Published
🎖️
Rati Dubey
Publisher
📈
94%
Success Rate