Concept

What happens when a while loop never increments its counter?

ComputerScienceOne / For Loops

"In the while loop, we never increment the counter variable $i, the loop does nothing, and so the computation will continue on forever! It is valid PHP and will run, but obviously won’t work as intended. Avoid this problem by using proper syntax."

Related Ideas

What happens when a while loop never increments its counter? | ComputerScienceOne | Bifalgorithm | Bifalgorithm