如果我期望一些回调函数运行,我可以使用 Closure 或 Callable 作为类型提示。例如: function callFunc1(Closure $closure) { $closure(); } ...
確定! 回上一頁