You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While implementing a binary search, we used a comma operator within a for loop and use the $i variable outside the loop too, and it is in practice always defined.
Bug report
While implementing a binary search, we used a comma operator within a for loop and use the
$i
variable outside the loop too, and it is in practice always defined.Code snippet that reproduces the problem
https://phpstan.org/r/85c66c6f-a6d4-4084-8815-07d3f46b099d
https://3v4l.org/LVt1P
Expected output
No errors
The text was updated successfully, but these errors were encountered: