A loop that can potentially run indefinitely if not carefully controlled is known as a(n) ________ loop.
- for
- while
- foreach
- do-while
A while loop can potentially run indefinitely if its condition never becomes false, requiring careful control.
Loading...
Related Quiz
- Regular Expressions in PHP are case-sensitive.
- In PHP, the fopen() function is used to open a file.
- You need to compare two variables in your PHP script to check if they are equal. What operator would you use and why?
- The ______ function in PHP is used to return the length of a string.
- In PHP, superglobals are ______ that are always accessible, regardless of scope.