$labels = (
'steam' => 'Steam',
'bore_water' => 'Bore Water',
'boiler1oil' => 'Boiler 1 Oil',
);
解析错误:语法错误,第32行意外
T_DOUBLE_ARROW
:'steam' => 'Steam',
有人能发现这个问题吗?
答案 0 :(得分:4)
$labels = array(
'steam' => 'Steam',
'bore_water' => 'Bore Water',
'boiler1oil' => 'Boiler 1 Oil',
);
答案 1 :(得分:3)
您遗失array
:
$labels = array(
'steam' => 'Steam',
'bore_water' => 'Bore Water',
'boiler1oil' => 'Boiler 1 Oil',
);