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

PHP 5.5 之前为 GMP 数值资源,PHP 5.6 之后为 GMP 对象或数字,或可以转为数字的字符串。

返回值

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