|
gmp_xorBitwise XOR Description
GMP gmp_xor
( GMP
$a
, GMP $b
)Calculates bitwise exclusive OR (XOR) of two GMP numbers. Parameters
Return ValuesA GMP number resource in PHP 5.5 and earlier, or a GMP object in PHP 5.6 and later. Examples
Example #1 gmp_xor example
<?php The above example will output: 1011110111000100 |