Category: PHP

Its adding variable between string, no more messy code where concatenation operator (). between your string and variable. Remember to use double quote (“), you can use bracket if want to add the variable in the word or want to access array/object variable. Its really helpful when it comes to handling array.

some of you might say but i want to use the spread operator in my array_push,here is the solution.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners