Shorten your functions! – Arrow Functions in PHP7.4

shorthand functions in php

Shorthand Functions in PHP

Tired of writing anonymous functions syntax every time when you just need to pass a callback or closure? Not only the standard long syntax is confusing but it’s also hard to read and understand. Well it’s your lucky day, the short syntax is on the way to be in release code of PHP 7.4!

Read moreShorten your functions! – Arrow Functions in PHP7.4