Project

General

Profile

Actions

Task #55444

closed

Use typesafe comparison where possible

Added by Michiel Roos over 10 years ago. Updated over 9 years ago.

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

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

To avoid casting variables when comparing them, we must use typesafe comparison where possible.

Use === instead of AND ! instead of != where the elements compared are known to be of the same type.

Actions

Also available in: Atom PDF