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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners