call_user_func() 函数问题
这几天在研究个框架,发现一个语句理解不了
请问:call_user_func($arr);这个函数在接受下面的数组传参后能实现什么功能
$arr=array(2) { [0]=> object(indexClass)#3 (7) {
["_modelsHome:protected"]=> NULL
["_viewsHome:protected"]=> NULL
["_configInc:protected"]=> NULL
["_tplExt:protected"]=> string(8) ".tpl.php"
["_keys:protected"]=> array(0) { }
["_error:protected"]=> NULL
["view"]=> object(Of_View)#4 (4) {
["pageViewVarQuote:private"]=> array(1) {
["editionInBanner"]=> &array(2) {
["oexam"]=> array(2) {
["edition"]=> string(5) "1.5.2"
["date"]=> string(10) "2011-07-03"
}
["otraining"]=> array(2) {
["edition"]=> string(5) "2.2.1"
["date"]=> string(10) "2011-07-03"
}
}
}
["_basePath:protected"]=> string(0) ""
["_widgetsHome:protected"]=> string(0) ""
["editionInBanner"]=> &array(2) {
["oexam"]=> array(2) {
["edition"]=> string(5) "1.5.2"
["date"]=> string(10) "2011-07-03"
}
["otraining"]=> array(2) {
["edition"]=> string(5) "2.2.1"
["date"]=> string(10) "2011-07-03"
}
}
} //arr[view]
} //arr[0]
[1]=> string(5) "index"
}
call_user_func($);执行?????