1Arrow function
2-----
3<?php
4
5fn($a) => $a;
6fn($x = 42) => $x;
7fn(&$x) => $x;
8fn&($x) => $x;
9static fn($x, ...$rest) => $rest;
10fn(): int => $x;
11fn($a, $b) => $a and $b;
12fn($a, $b) => $a && $b;
13-----
14fn($a) => $a;
15fn($x = 42) => $x;
16fn(&$x) => $x;
17fn&($x) => $x;
18static fn($x, ...$rest) => $rest;
19fn(): int => $x;
20fn($a, $b) => $a and $b;
21fn($a, $b) => $a && $b;