|
PHP5中文手册
gmp_testbit(No version information available, might be only in CVS) gmp_testbit — Tests if a bit is set 说明
bool gmp_testbit
( resource $a
, int $index
)
Tests if the specified bit is set. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 错误/异常E_WARNING is issued when index is less than zero. 范例
Example#1 gmp_testbit() example
<?php 上例将输出:
|