You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
218 B

<?php
//这个一个普通的函数
function add($m,$n)
{
return $m+$n;
}
//call_user_func — 把第一个参数作为回调函数调用
$ret=call_user_func('add',10,5);
echo $ret;