万卷书>>电脑书籍>>网页制作>>PHP>>PHP 3 中文简单教程

WANJUANSHU.COM

位操作符
    位操作符允许您精细的操作数据的每一个位。

    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.
 
上一页 WanJuanShu.COM 下一页
WANJUANSHU.COM 万卷书