The continue statement in PHP is used to ______ the current iteration of a loop and move the program control to the next iteration.

  • Skip
  • Terminate
  • Pause
  • Restart
The correct option is: "Skip." The continue statement in PHP is used to skip the remaining code in the current iteration of a loop and move the program control to the next iteration. It allows you to bypass certain iterations based on a condition. Learn more: 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 *