Inspectopedia
 
2024.3

Invalid type of unpacked argument

Warning
New
Last modified: 03 December 2024

Reports unpacked function arguments and array elements whose type is neither array nor Traversable.

Starting with PHP 8.0, such usages will result in Fatal error.