phpexcel报错: Formula Error: Unexpected operator ‘=’ , 0

setCellValueExplicit替换setCellValue即可,因为value里还有“=”导致报错

$as->setCellValue(“A{$x}”, $row->uid);
$as->setCellValueExplicit(“B{$x}”, $row->nickname);
$as->setCellValue(“C{$x}”, $row->level);