Actions
Bug #23113
closedEnhancement of t3lib_div::testInt
Start date:
2010-07-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
t3lib_div::testInt can be optimized by making use of the PHP version of testInt called: is_int.
This function is still used in the core: 129 times.
A speed gain from ~ 45 - 81 % can be achieved on this function.
In addition to changing this function to use is_int, all calls to t3lib_div::testInt should be replaced by is_int.
I don't see the point of calling a special function just to call a single function inside.
(issue imported from #M15020)
Files
Actions