Parse error: syntax error, unexpected T

I'm getting a

Parse error: syntax error, unexpected T_DOUBLE_ARROW PHP on line 47, which is 
            'post_content' => $thisShow['content'],

Anyone got any ideas why?

protected function _saveShow($thisShow) {       
    $saveData = array(
        'mid' => $this->_saveAsUserId, 
        'post_title' => $thisShow['title'],
        'post_name' => slug($thisShow['title'],
        'post_content' => $thisShow['content'],
        'post_date' => date('Y-m-d H:i:s'),
        'post_date_gmt' => date('Y-m-d H:i:s'),
        'category_id' => 4,
        'post_author' => 0,
        'category_name' => $thisShow['category_name']       
    );

   // $this->_database->insert('wp_posts', $saveData);

}

您没有在前一行关闭括号:

   'post_name' => slug($thisShow['title']),
链接地址: http://www.djcxy.com/p/11918.html

上一篇: 解析错误:语法错误,意外的T

下一篇: 解析错误:语法错误,意外的T