Actions
Task #77752
closedUse strpos instead of substr to check the start of a string
Start date:
2016-09-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Use strpos instead of substr to check the start of a string.
Substr invokes additional memory allocation, which is not needed in the context. Strpos will do the same job, but without any overhead (it's just searching a string).
Actions