Index: t3lib/class.t3lib_div.php =================================================================== --- t3lib/class.t3lib_div.php (revision 8088) +++ t3lib/class.t3lib_div.php (working copy) @@ -1262,8 +1262,8 @@ * @param mixed Any input variable to test. * @return boolean Returns true if string is an integer */ - public static function testInt($var) { - return !strcmp($var,intval($var)); + public static function testInt($var) { + return is_int($var); } /**