mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
15 lines
492 B
Markdown
15 lines
492 B
Markdown
---
|
|
title: 'From PHP 7.4, you can use the spread syntax to merge arrays'
|
|
tweet_id: '1479467945822588931'
|
|
thread_slug: weekly-thread-2022-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
|