Johnathan Smith

Full Stack Laravel Developer + Consultant

Tag: Array Destructuring

PHP Array Destructuring - And its Cool Hidden Feature

PHP Array Destructuring - And its Cool Hidden Feature

Assign returned variables and skip them too!

Did you know that you can destructure arrays, just like you can in es6 JavaScript?