PhpStorm 2019.2 Help

Code Inspection: Infinite loop statement

Reports any instances of for , while ,or do statements whichcan only exit by throwing an exception. While such statements may be correct, theyare often a symptom of coding errors.

Last modified: 23 August 2019