启动 php artisan serve 时出错

Getting an error when starting php artisan serve

启动 laravel 服务器时出现以下错误。

[Symfony\Component\Debug\Exception\FatalThrowableError]   
Parse error: syntax error, unexpected '=', expecting ']'

我正在尝试创建一个与 mailchimp api 集成的网络应用程序。我正在使用以下包。 Manage Newsletters.

现在我已经创建 laravel-newsletter.php 并插入了 api 键和列表 ID,如下所示 post connecting laravel to mailchimp

下面是我列出 api 键和列表 ID 的方式。

<?php

return [

    /*
     * The api key of a MailChimp account. You can find yours here:
     * https://us10.admin.mailchimp.com/account/api-key-popup/
     */
    // 'apiKey' => env('MAILCHIMP_APIKEY'),
    'MAILCHIMP_APIKEY'='API 1234567891011121314',

    /*
     * When not specifying a listname in the various methods, use the list with this name
     */
    'defaultListName' => 'subscribers',

    /*
     * Here you can define properties of the lists you want to
     * send campaigns.
     */
    'lists' => [

        /*
         * This key is used to identify this list. It can be used
         * in the various methods provided by this package.
         *
         * You can set it to any string you want and you can add
         * as many lists as you want.
         */
        'subscribers' => [

            /*
             * A mail chimp list id. Check the mailchimp docs if you don't know
             * how to get this value:
             * http://kb.mailchimp.com/lists/managing-subscribers/find-your-list-id
             */
            // 'id' => env('MAILCHIMP_LIST_ID'),
            'id'='123456789',
        ],
    ],

    /*
     * If you're having trouble with https connections, set this to false.
     */
    'ssl' => true,
  ];

这只是一个错字,在

'MAILCHIMP_APIKEY'='API 1234567891011121314',

应该是

'MAILCHIMP_APIKEY'=>'API 1234567891011121314',

以及 'id'=>'123456789',