|
PHP5中文手册
call_user_func(PHP 4, PHP 5) call_user_func — Call a user function given by the first parameter 说明
mixed call_user_func
( callback $function
[, mixed $parameter
[, mixed $...
]] )
Call a user defined function given by the function parameter. 参数
返回值Returns the function result, or FALSE on error. 范例
Example#1 call_user_func() example
<?php Example#2 Using a class method
<?php |