Home & blog

Tag: php

Comparing arrow functions in JavaScript and PHP

14 Nov 2021 php

When arrow functions landed in ECMA 6, they allowed developers to be much more fluid with use of functions. PHP now has them too, albeit with some differences. Let's take a look at how they compare.