Source: medium.com

Arrow function in PHP 7.4

Category: PHP

Arrow functions, introduced in PHP 7.4, provides a concise way to write functions in PHP 7.4. Short closures, also called Arrow functions, are a way of writing shorter functions in PHP 7.4. This notation is useful when passing closures to functions like array_map or 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