PHP. Руководство по PHP. 2005
gmp_scan0
gmp_scan0
Description
int gmp_scan0 (resource a, int start)Scans a, starting with bit start, towards more significant bits, until the first clear bit is found. Returns the index of the found bit. The index starts from 0.