The List Function & Practical Uses of Array Destructuring in PHP
Sebastian De Deyne wrote a cool blogpost on array destructuring in PHP. Yet another reason to stay up to date with the latest and greatest PHP version.
PHP 7.1 introduced a new syntax for the list() function. I've never really seen too much list() calls in the wild, but it enables you to write some pretty neat stuff.This post is a primer of list() and it's PHP 7.1 short notation, and an overview of some use cases I've been applying them to.
What are your thoughts on "The List Function & Practical Uses of Array Destructuring in PHP"?