Sr. PHP Programmer Question: Download Senior PHP Programmer PDF

What is the purpose of break statement?

Tweet Share WhatsApp

Answer:

break terminates the for loop or switch statement and transfers execution to the statement immediately following the for loop or switch.

Download Senior PHP Programmer PDF Read All 202 Senior PHP Programmer Questions
Previous QuestionNext Question
How will you locate a string within a string in PHP?What are rules for naming a PHP variable?