PHP 7.4.0RC2 Released!

gmp_perfect_power

(PHP 7 >= 7.3.0)

gmp_perfect_powerPerfect power check

说明

gmp_perfect_power ( mixed $a ) : bool

Checks whether a is a perfect power.

参数

a

可以是一个 GMP 数据 resouce,或一个可以转换为数值的字符串。

返回值

Returns TRUE if a is a perfect power, FALSE otherwise.

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top