PHP 8.1 added support for first-class callable syntax: https://wiki.php.net/rfc/first_class_callable_syntax