[PHP-DEV] Bug #563: is_int/is_long does not work correctly. From: au <email protected>
Date: 07/21/98

From: au <email protected>
Operating system: Linux 2.0.35
PHP version: 3.0.1
PHP Bug Type: Misbehaving function
Bug description:
The functions is_int() and is_long() don't return true if the given argument is a variable:

echo is_int(12345);
--> 1

echo is_int("12345");
--> (nothing returned!!)

$abc = "12345";
echo is_int($abc);
--> (nothing returned!!)

echo is_int("abcdef");
--> (nothing returned!!)

$abc = "abcdef";
echo is_int($abc);
--> (nothing returned!!)

Is this behaviour a bug or a feature?