Inspectopedia Help

Array to string conversion

Reports array to string conversions, that is, the arrays that are provided in the contexts where a string is expected.

Prior to PHP 8.0, this would lead to a E_NOTICE level error. In PHP 8.0, an E-WARNING is emitted.

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3



Last modified: 13 July 2023