Display the drop-down list

gmp_testbit()

« gmp_sub | gmp_xor »
<?php
$a 
gmp_init(
    
// mixed $number
    
 // [int $base = 0]
);

$bool gmp_testbit (
    
// resource $a
    
  // int $index
);
?>
Result
$bool = false
Examples
#1 gmp_testbit  (/* $number = "1000000" */
 /* $base = 2 */
 
$a,
 
1)
#2 gmp_testbit  (/* $number = "1000010" */
 /* $base = 2 */
 
$a,
 
1)
See also
gmp_clrbit, gmp_init, gmp_popcount, gmp_setbit