How break and continue while loop in php?



How break and continue while loop in php?..

Answer / Reenu Sisodia

break is used to exit a loop entirely, while continue is used to skip the current iteration and continue with the next one.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Explain the importance of the function htmlentities.

1 Answers  


What is get and post method in php?

1 Answers  


Do csrf tokens expire?

1 Answers  


•How can we submit a form without a submit button

5 Answers  


Is variable name casesensitive in php?

1 Answers  


What is Joomla?

5 Answers   T3 Softwares, Zend,


Why php 7 is faster?

1 Answers  


Why php is widely used?

1 Answers  


Describe PHP error and logging information?

1 Answers  


What does the expression exception::__tostring means?

1 Answers  


Explain what is the difference between for and foreach?

1 Answers  


Write a program to get second highest number in an array using php?

1 Answers  


Categories