PHP位操作符
程序员文章站
2022-05-15 12:43:26
...
简介:这是PHP位操作符的详细页面,介绍了和php,有关的知识、技巧、经验,和一些php源码等。 class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=326913' scrolling='no'> 位操作符允许您精细的操作数据的每一个位。
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.
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.
“PHP位操作符”的更多相关文章 》
爱J2EE关注Java迈克尔杰克逊视频站JSON在线工具
http://biancheng.dnbcw.info/php/326913.html pageNo:13上一篇: php 设计模式之 单例模式_PHP教程