Project

General

Profile

Actions

Bug #95482

closed

Missing parenthesis in some expressions

Added by Nikita Hovratov about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2021-10-05
Due date:
% Done:

100%

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

Description

The coalesce operator has a relatively low precedence over other
operators. If used as part of other expressions, it is almost always
necessary to wrap it in parenthesis. Otherwise unexpected behaviour or
undefined array key errors may occur.

Actions

Also available in: Atom PDF