/ Published in: PHP
Expand |
Embed | Plain Text
Comments
Subscribe to comments
You need to login to post a comment.
adkatrit on 07/24/10
3 people have marked this snippet as a favorite
Subscribe to comments
You need to login to post a comment.
one liner version:
$is_perf = (sqrt($num)-float(sqrt($num))==0) ? true:false;