Date: 07/21/98
- Next message: Song, Bo Run: "[PHP-DEV] MD5 and RADIUS"
- Previous message: Mark Musone: "[PHP-DEV] can i do a conver_to_object on a parameter?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
- Next message: Song, Bo Run: "[PHP-DEV] MD5 and RADIUS"
- Previous message: Mark Musone: "[PHP-DEV] can i do a conver_to_object on a parameter?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

