|
PHP5中文手册
gmp_perfect_square(PHP 4 >= 4.0.4, PHP 5) gmp_perfect_square — Perfect square check 说明
bool gmp_perfect_square
( resource $a
)
Check if a number is a perfect square. 参数
返回值Returns TRUE if a is a perfect square, FALSE otherwise. 范例
Example#1 gmp_perfect_square() example
<?php 上例将输出:
|