if ($i !== $expected) {