Project

General

Profile

Actions

Bug #88922

closed

Memory unfriendly functions used for simple checks

Added by Andreas Kienast over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-08-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The TYPO3 core uses strstr() and friends quite often to check the occurrence of a certain substring. This is not optimal, as the computed result is stored into RAM, but is not used at all.

Those occurrences may be replaced with strpos().

Actions

Also available in: Atom PDF