Bob Weinand created a new RFC that describes how the anonymous functions could be less verbose.

This function

[code language="php"] function ($x) { return $x * 2; } [/code]

could be written as one of the following

[code language="php"] $x ~> $x 2 $x ~> { return $x 2;} ($x) ~> $x 2 ($x) ~> { return $x 2; } [/code]

If it gets accepted it'll probably be added in PHP 7.1.