Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C CMS
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • CI
  • CMS
  • Repository
Switch branch/tag
  • cms
  • typo3
  • sysext
  • impexp
  • Classes
  • ImportExport.php
Find file BlameHistoryPermalink
  • Andreas Fernandez's avatar
    [BUGFIX] Use `strpos()` over `strstr()` · cde9c8c5
    Andreas Fernandez authored Aug 05, 2019 and Frank Nägler's avatar Frank Nägler committed Aug 23, 2019
    This patch replaces all usages of `strstr()` and its friends where the
    existence of a certain substring is checked, but the result isn't used at
    all with `strpos()`, which uses less memory.
    
    Resolves: #88922
    Releases: master
    Change-Id: Ie45589ac9410e22e1b48e82dd8086eadb6d74107
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61445
    
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    Tested-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
    Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
    Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    Reviewed-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
    cde9c8c5