我在 linux 服务器中收到此错误
致命错误:函数名称必须是第 24 行 /home/calaniz1/public_html/system/get_answers.php 中的字符串
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;
}
但是在我的电脑中我没有收到任何错误...