Source: medium.com

Arrow Functions in PHP 7.4

Category: PHP, PHP, javascript, javascript

Among the few features that got added to the latest released version of PHP 7, the arrow function feature seems to be amazing to me since it has been in JS ES6. So I decided to talk about it using some common Higher Order Functions we already know — array_map() and array_filter.
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