ZEND_ARG_INFO(0, var)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO(arginfo_is_long, 0)
+ZEND_BEGIN_ARG_INFO(arginfo_is_integer, 0)
ZEND_ARG_INFO(0, var)
ZEND_END_ARG_INFO()
PHP_FE(is_null, arginfo_is_null)
PHP_FE(is_resource, arginfo_is_resource)
PHP_FE(is_bool, arginfo_is_bool)
- PHP_FE(is_long, arginfo_is_long)
+ PHP_FE(is_integer, arginfo_is_integer)
PHP_FE(is_float, arginfo_is_float)
- PHP_FALIAS(is_int, is_long, arginfo_is_long)
- PHP_FALIAS(is_integer, is_long, arginfo_is_long)
+ PHP_FALIAS(is_int, is_integer, arginfo_is_integer)
+ PHP_FALIAS(is_long, is_integer, arginfo_is_integer)
PHP_FALIAS(is_double, is_float, arginfo_is_float)
PHP_FALIAS(is_real, is_float, arginfo_is_float)
PHP_FE(is_numeric, arginfo_is_numeric)
}
/* }}} */
-/* {{{ proto bool is_long(mixed var)
- Returns true if variable is a long (integer)
+/* {{{ proto bool is_integer(mixed var)
+ Returns true if variable is an integer
Warning: This function is special-cased by zend_compile.c and so is usually bypassed */
-PHP_FUNCTION(is_long)
+PHP_FUNCTION(is_integer)
{
php_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_LONG);
}