πŸ“Š PHP
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

πŸ‘οΈ
35
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
88%
Success Rate