is_integer

(PHP 4, PHP 5, PHP 7)

is_integeris_int() 的别名

描述

此函数是 is_int() 的别名函数。

User Contributed Notes

gldbrzent at gmail dot com 25-Sep-2017 04:37
There are two different functions.  But, the reason why is beyond the scope of this article!
being dot juan at icloud dot com 27-Jul-2017 02:07
There is no difference, per se. is_integer() is an alias of is_int().
topor-grabowski at anwalt dot de 19-Jul-2017 06:47
Could someone explain me, why there are 2 different functions:
is_int and is_integer?