PHP: for - Manual - PHP: Hypertext Preprocessor
expr2 being empty means the loop should be run indefinitely (PHP implicitly considers it as TRUE, like C). ... Of course, the first example appears to be the nicest one (or perhaps the fourth), but you may find that being able to use empty expressions in ...