Inspectopedia
 
2024.3

Array to string conversion

Warning
New
Last modified: 03 December 2024

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.