Inspectopedia Help

Wrong string concatenation

Reports the attempts to concatenate strings by using the + operator instead of the dot (.) concatenation operator. Such attempts are most likely a programming mistake.

Inspection options

Option

Type

Default

Ignore properties accessed via magic methods

Checkbox

false

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3

Plugin:

PHP, 233.SNAPSHOT

Last modified: 13 July 2023