PhpStorm 2019.2 Help

Code Inspection: Incompatible bitwise mask operation

Reports bitwise mask expressions which are guaranteed toevaluate to true or false.Expressions checked are of the form (var & constant1) == constant2 or (var | constant1) == constant2 , where constant1 and constant2 are incompatible bitmask constants.

Last modified: 23 August 2019