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

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