Home > PHP > Function > GMP > gmp_clrbit()

gmp_clrbit()

gmp_clrbit - Clear bit

Syntax

gmp_clrbit (resource $a, int $index)

Arguments

  • a - It can be either a GMP number resource, or a numeric string given that it is possible to convert the latter to a number.
  • index - It can be either a GMP number resource, or a numeric string given that it is possible to convert the latter to a number.

Description

Clears (sets to 0) bit index in a. The index starts at 0.

Version

PHP 4.0.4, 5

Return value

A GMP number resource.