Q. Which function is used to terminate script execution in PHP?

  • (A) stop()
  • (B) exit()
  • (C) end()
  • (D) terminate()
πŸ’¬ Discuss
βœ… Correct Answer: (B) exit()
Explanation: The exit() or die() functions stop the script execution.
Explanation by: Rati Dubey
The exit() or die() functions stop the script execution.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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