1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00
laravel-tips/content/tips/from-php-74-you-can-use-the-spread-syntax-to-merge-arrays.md
2022-01-07 18:32:23 +01:00

15 lines
No EOL
491 B
Markdown

---
title: 'From PHP 7.4, you can use the spread syntax to merge arrays'
tweet_id: '1479467945822588931'
thread_slug: weekly-thread-2021-01
author_username: bhaidar
images:
- 'https://pbs.twimg.com/media/FIDdCQvVEAMsK3l.jpg'
created_at: 2022-01-07T15:00:20+00:00
slug: 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