摘要:
1.二话不说,先上官方例子<?php // An example callback functionfunction my_callback_function() { echo 'hello world!';}// An example callback methodclass MyClass { static function myCallbackMethod() { echo 'Hello World!'.'<br/>'; } function myTwoCallback(){ echo 'hello dazhu 阅读全文