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

Christian Kuhn lolli at schwarzbu.ch
Wed Jul 7 11:27:57 CEST 2010


On 07/07/2010 11:18 AM, Dmitry Dulepov wrote:
> Not the same result as before:
>
> !strcmp(' 5',intval(' 5'))
> 	false
>
> (intval(' 5') == ' 5')
> 	true

This discussion would be far more easy if we just cover all those 
testInt() edge case with some simple unit tests. Anyone wants to go 
ahead? Otherwise I'll probably do this evening ...

Regards
Christian


More information about the TYPO3-team-core mailing list