i ; }; $i < function() { return $this->max; }; $i++) {} for ($i = function() { return $this->i; }; $i < function() { return $this->max; }; $i++) {} // phpcs:set Squiz.ControlStructures.ForLoopDeclaration ignoreNewlines true for ( $i = 0; $i < 5; $i++ ) { // body here } // phpcs:set Squiz.ControlStructures.ForLoopDeclaration ignoreNewlines false // This test has to be the last one in the file! Intentional parse error check. for