PHP CallbacksIt is possible to assign a PHP closure to a native variable of function pointer type or to pass it as a function argument:
<?php 上の例の出力は以下となります。 Hello World 1! { Hello World 2! } Hello World 3! ヒント
It is therefore recommended to minimize the usage of PHP callbacks. |