Show issue for bitwise operations on floats #8362
Labels
easy problems
Issues that can be fixed without background knowledge of Psalm
enhancement
good first issue
Help wanted
I could have sworn there was a PHP warning for doing bitwise operations on floats, but apparently not... Do we want to add an issue for that to Psalm?
Originally posted by @AndrolGenhald in #7992 (comment)
Apparently it is a warning, but only if the float isn't exactly an integer: https://3v4l.org/kWXWH
https://psalm.dev/r/42a6ae8735
The text was updated successfully, but these errors were encountered: