Table 7-2. Bitwise Operators(表7-2位操作符)
example name result
$a & $b And Bits that are set in both $a and $b are set.?/FONT>
$a | $b Or Bits that are set in either $a or $b are set.?/FONT>
~ $a?/FONT> Not Bits that are set in $a are not set, and vice versa.
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/