报告使用
Closure::fromCallable
但可以替换为自 PHP 8.1 起可用的一级可调用语法
f(...)
的
callable
创建表达式。
有关详细信息,请参阅
一级可调用语法 (php.net)
。