In PHP, you can use break and continue in a for loop, while loop, do...while loop, and foreach loop.

  • TRUE
  • FALSE
  • nan
  • nan
The correct option is: "True." In PHP, you can use break and continue statements in a for loop, while loop, do...while loop, and foreach loop. These statements are used to control the flow of the loop execution based on specific conditions. Learn more: https://www.php.net/manual/en/control-structures.break.php, https://www.php.net/manual/en/control-structures.continue.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *