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
When iterating an array that has both numeric and non-numeric values, PhpStan incorrectly reports Call to function is_numeric() with 1|'a' will always evaluate to false..
+--------------------------------------------------------------------------------+
| Line | test.php |
+--------------------------------------------------------------------------------+
| 6 | Call to function is_numeric() with 1|'a' will always evaluate to false. |
+--------------------------------------------------------------------------------+
The text was updated successfully, but these errors were encountered:
Bug report
When iterating an array that has both numeric and non-numeric values, PhpStan incorrectly reports
Call to function is_numeric() with 1|'a' will always evaluate to false.
.Code snippet that reproduces the problem
https://phpstan.org/r/25842e1a-5522-49d9-a0a5-a5722c6d8e15
Expected output
I expected no errors here, but PhpStan reports:
The text was updated successfully, but these errors were encountered: