[TYPO3-core] RFC: #15685: Enhancement of t3lib_div::testInt introduced a different behaviour causing bugs
Ernesto Baschny [cron IT]
ernst at cron-it.de
Mon Sep 13 09:26:10 CEST 2010
Helmut Hummel schrieb am 11.09.2010 16:13:
> Hi,
>
> this is a SVN patch request.
>
> Bugtracker reference: http://bugs.typo3.org/view.php?id=15685
>
> Branches: trunk
>
> Problem:
> When the enhanced version of t3lib_div::testInt was commited, a
> different behaviour was introduced, for special input data like '10.',
> '0123' or ' 5'.
>
> Solution:
> Restore the old behaviour while keeping a bit of the performance
> improvement.
>
> Note:
> Attached the solution I initially suggested because it seems to be the
> fastest when comparing speed on different systems.
> The patch also contains the adpted and enhanced unit tests.
+1 by reading and testing.
Commited to trunk:
- unit test changes to rev. 8780
- bugfix to rev. 8781 (will be in 4.5alpha2)
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list