Skip to content

Files

Latest commit

 

History

History
16 lines (9 loc) · 527 Bytes

PHPCompatibility.Lists.AssignmentOrder.md

File metadata and controls

16 lines (9 loc) · 527 Bytes

Pattern: Possibly wrong variable assignment order for list()

Issue: -

Description

Detects code affected by the changed list assignment order in PHP 7.0+.

The list() construct no longer assigns variables in reverse order. This affects all list constructs where non-unique variables are used.

PHP version 7.0

Further Reading