diff --git a/tests/Loop/ForTest.php b/tests/Loop/ForTest.php index f8fd5f2b22b..037893b1ef4 100644 --- a/tests/Loop/ForTest.php +++ b/tests/Loop/ForTest.php @@ -143,7 +143,7 @@ function test(Node $head) { * @param list $arr */ function cartesianProduct(array $arr) : void { - for ($i = 20; $arr[$i] === 5 && $i > 0; $i--) {} + for ($i = 20; $i > 0 && $arr[$i] === 5 ; $i--) {} }', ], 'noCrashOnLongThing' => [