Unexpected '=>' (T_DOUBLE_ARROW) : <p>I am getting the following error and I just cant find the solution to the problem. Might be anyone be able to help me?     </p>

<pre><code> DB::table('videos')-&gt;insert(
             ['video_id'        =&gt; $videos[$i]-&gt;title],
             ['url']            =&gt; $videos[$i]-&gt;url],
             ['default_thumb']  =&gt; $videos[$i]-&gt;default_thumb],
             ['thumb']          =&gt; $videos[$i]-&gt;thumb],
             ['publish_date']   =&gt; $videos[$i]-&gt;publish_date],
             ['tags']           =&gt; $videos[$i]-&gt;tags]
           );
</code></pre>

<p>The error message is:</p>

<pre><code>FatalErrorException in VideoController.php line 33:
syntax error, unexpected '=&gt;' (T_DOUBLE_ARROW)
</code></pre>
