Project

General

Profile

Actions

Task #64199

closed

Cleanup usage of strlen()

Added by Stefan Neufeind over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2015-01-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Often strlen() is also used when checking for or against an empty string. For example we (now) usually use !== '' for that.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #46402: Get rid of >0 where strlen() or count() are used as booleanRejected2013-03-18

Actions
Is duplicate of TYPO3 Core - Task #54091: Use === operator instead of strlen() to check for zero length stringsClosed2013-11-29

Actions
Actions #1

Updated by Gerrit Code Review over 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35914

Actions #2

Updated by Stefan Neufeind about 9 years ago

  • Status changed from Under Review to Resolved

Somewhat a duplicate of #54091.

Actions #3

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF