When are infinite loops are useful in PHP?

后端 未结 12 916
日久生厌
日久生厌 2020-12-09 21:17

While reading through the great online PHP tutorials of Paul Hudson he said

Perhaps surprisingly, infinite loops can sometimes be h

12条回答
  •  天命终不由人
    2020-12-09 21:42

    I'm thinking about the guess-the-number game, where the user has to guess the randomly (or not) generated number, so, he'll have to enter numbers until he gets it. Is that what you needed ?

提交回复
热议问题