language operators bitwise

Bitwise OperatorsPHP ManualPrevChapter 10. OperatorsNextBitwise Operators Bitwise operators allow you to turn specific bits within an integer on or off. Table 10-2. Bitwise Operatorsexamplenameresult$a & $bAndBits that are set in both $a and $b are set.$a | $bOrBits that are set in either $a or $b are set.$a ^ $bXorBits that are set in $a or $b but not both are set.~ $aNotBits that are set in $a are not set, and vice versa.$a << $bShift leftShift the bits of $a $b steps to the left (each step means "multiply by two")$a >> $bShift rightShift the bits of $a $b steps to the right (each step means "divide by two")PrevHomeNextAssignment OperatorsUpComparison Operators
Wyszukiwarka

Podobne podstrony:
language operators bitwise
language operators bitwise
language operators bitwise
language operators comparison
language operators increment
language operators errorcontrol
language operators array
language operators execution
language operators
language operators arithmetic
language operators precedence
language operators execution
language operators errorcontrol
language operators increment
language operators comparison

więcej podobnych podstron