You can use the spread operator to merge arrays, just like in JavaScript
- ·
- Telegram
- ·
- Newsletter
A quick reminder about a not-so-often used #PHP feature.
We have the spread operator, and it works just like the one in JavaScript.