<?php
void gmp_clrbit ( GMP $num, int $index )
where,
$num = The value to clear
$index = The index of the bit to clear
?>
<?php
$a01 = gmp_init('0xAADD');
// 43741 (DECIMAL)
$arri01 = [ 0, 1, 2, 3, 4, 5, 6, 7, 64 ];
foreach($arri01 as $i01)
{
gmp_clrbit($a01, $i01);
echo 'Bit cleared ' . $i01 . ' returned value ' .
gmp_strval($a01) . ' = ' .
strtoupper(dechex(gmp_strval($a01))) . '<br><br>';
}
?>