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
I expected that when is_numeric returns true for a variable, that variable can be used in a mathematical expression, but it results in Binary operation between string and x results in error.
Bug report
I expected that when
is_numeric
returns true for a variable, that variable can be used in a mathematical expression, but it results inBinary operation between string and x results in error
.Also: Thank you for phpstan!
Code snippet that reproduces the problem
https://phpstan.org/r/e58d476f-a25b-480d-8df7-8c869da92f9a
Expected output
No errors.
The text was updated successfully, but these errors were encountered: