gmp_setbit

(PHP 4 = 4.0.4)

gmp_setbit -- Set bit

Description

resource gmp_setbit ( resource a, int index [, bool set_clear])

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.