我想你在找
call_user_func。
PHP手册中的示例:
<?phpfunction barber($type) { echo "You wanted a $type haircut, no problem";}call_user_func('barber', "mushroom");call_user_func('barber', "shave");?>
我想你在找
call_user_func。
PHP手册中的示例:
<?phpfunction barber($type) { echo "You wanted a $type haircut, no problem";}call_user_func('barber', "mushroom");call_user_func('barber', "shave");?>