[TYPO3-core] RFC #15021: Cleanup: replace calls to t3lib_div::testInt with calls to is_int, mark t3lib_div:testInt as deprecated

Dmitry Dulepov dmitry at typo3.org
Wed Jul 7 09:21:55 CEST 2010


Hi!

Michiel Roos [netcreators] wrote:
> V2 adds: self::logDeprecatedFunction(); to the testInt function.

-1 for the same reason as previous patch: is_int() does not do the same as
t3lib_div::testInt():

t3lib_div::testInt('5') returns true
is_int('5') returns false

-- 
Dmitry Dulepov
TYPO3 core&security teams member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/


More information about the TYPO3-team-core mailing list