Project

General

Profile

Bug #23113 » 15020_testInt_v1.diff

Administrator Admin, 2010-07-06 23:43

View differences:

t3lib/class.t3lib_div.php (working copy)
* @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);
}
/**
(1-1/2)