(PHP 4 >= 4.0.4)
resource gmp_setbit (resource &a, int index [, bool set_clear])
resource gmp_setbit
Sets bit index in a. set_clear defines if the bit is set to 0 or 1. By default the bit is set to 1.