Q. What is the purpose of the break statement in PHP

  • (A) Exits the current loop
  • (B) Starts the loop
  • (C) Continues the loop
  • (D) Ends the function
πŸ’¬ Discuss
βœ… Correct Answer: (A) Exits the current loop
Explanation: break is used to exit a loop prematurely
Explanation by: Rati Dubey
break is used to exit a loop prematurely

πŸ’¬ Discussion


πŸ“Š Question Analytics

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