Am 07.07.2010 10:21, schrieb Steffen Kamper: > it seems that t3lib_div::testInt was written for strings mainly. > The name of the function is misleading here. > What's about return ((string)intval($var) == $var); would be better i think, to enshure that $var is not casted to string but string compared