即时得到这个错误在Linux服务器致命错误函数名称必须是一个字符串24
Fatal error: Function name must be a string in /home/calaniz1/public_html/system/get_answers.php on line 24
function print_answers($dom){
$endl = "<br />";
$html = file_get_dom($dom);
$s=2;
$answer = array();
$answer_id = array();
$count_total = 0;
$count_index = 0;
$errflag = false;
foreach ($html('.closed') as $div) {
foreach ($div('select') as $ab){
$id = $ab->name;
$count_total ++ ;
$count_index = $count_total -1 ;
$answer_id[$count_index] = $id;
$answer[$count_index] = $ab->onmouseover;
}
但在我的电脑上我没有得到任何错误...
哪一行是第24行?也请比较php版本。你可以在常量'echo PHP_VERSION;'中找到它 - 检查是否有差异。 – hakre
我正在尝试更新标记wiki。你的标签ganon代表什么? – SnareChops