1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/from-php-74-you-can-use-the-spread-syntax-to-merge-arrays.md
2022-01-07 18:37:55 +01:00

492 B

title tweet_id thread_slug author_username images created_at slug
From PHP 7.4, you can use the spread syntax to merge arrays 1479467945822588931 weekly-thread-2022-01 bhaidar
https://pbs.twimg.com/media/FIDdCQvVEAMsK3l.jpg
2022-01-07T15:00:20+00:00 from-php-74-you-can-use-the-spread-syntax-to-merge-arrays

🌶️ #PHP tip: Did you know that you can use the spread operator to merge arrays, just like you do it in #javascript?

Available since PHP 7.4+

#Laravel