Actions
Task #55445
closedUse array access instead of strpos($str, n, 1)
Start date:
2014-01-29
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Sprint Focus:
Description
A call to strpos can be avoided in case the 'count' parameter is 1.
Use:
$str{n}
Instead of:
strpos($str, n, 1)
Actions