[TYPO3-dev] behaviour of t3lib_div::testInt has been changed

Steffen Ritter info at rs-websystems.de
Thu Sep 9 13:45:56 CEST 2010


Am 09.09.2010 13:38, schrieb JoH asenau:
>>>> I have observed that the behaviour of the function
>>>> t3lib_div::testInt has been changed.
>>>
>>> there was a very long discussion about this topic in the core list.
>>> Have a look at RFC #15020.
>>
>> as far as I see this should have been a performance improvement only.
>> Obviously no test has been made for a string like '10.' as it comes
>> from TypoScript.
>
> And what would be the expected result in this case?

10. is a floating point number - in java, in c, in php in javascript :) 
i would expect to get a false on testInt(), Franz is right there.




More information about the TYPO3-dev mailing list