[PHP 8.5 supports first-class callables in constant expressions](https://wiki.php.net/rfc/fcc_in_const_expr). We should support that.