7.4+ compatibility check
Closed this issue · 1 comments
dereuromark commented
There are 3 important RFCs that was introduced in PHP 7.4:
- https://wiki.php.net/rfc/arrow_functions_v2
- https://wiki.php.net/rfc/null_coalesce_equal_operator
- https://wiki.php.net/rfc/typed_properties_v2
We should check that those don't break anything.
dereuromark commented
Specifically, the following issues seem to be not covered
$fn1 = fn($x)=>$x + $y;
should be
$fn1 = fn ($x) => $x + $y;