-
-
Notifications
You must be signed in to change notification settings - Fork 947
Strict comparison of multiple arrays #7257
Copy link
Copy link
Closed
phpstan/phpstan-src
#1493Labels
Milestone
Description
Bug report
When i use following code than i get an error message "Strict comparison using === between NEVER and array{0?: int<1, 10>, 1?: int<1, 10>, 2?: int<1, 10>, 3?: int<1, 10>} will always evaluate to false.".
Code snippet that reproduces the problem
https://phpstan.org/r/476727c9-c10c-44d8-b156-1d82a1fe76b6
Expected output
same as here https://phpstan.org/r/f8ec4278-7e06-4521-95ef-39f45a712806
Reactions are currently unavailable