[TYPO3-core] RFC #15020: Enhancement of t3lib_div::testInt

Dmitry Dulepov dmitry at typo3.org
Wed Jul 7 11:18:20 CEST 2010


Hi!

Steffen Kamper wrote:
> What's about
> return (intval($var) == $var);

Not the same result as before:

!strcmp(' 5',intval(' 5'))
	false

(intval(' 5') == ' 5')
	true

-- 
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