title: Laravel parse error: syntax error, unexpected T_CLASS, expecting T_STRING
body: <p>I developed a <code>laravel</code> application back in <code>August</code> this year, and it was working fine then. I am trying to run that application now, and it returns this error:</p>
  
  <blockquote>
    <p>parse error: syntax error, unexpected T_CLASS, expecting T_STRING or
    T_VARIABLE or '{' or '$' in D:\bkonme\artisan line 31</p>
  </blockquote>
  
  <p>And line 31 is like this:</p>
  
  <pre><code>$kernel = $app-&gt;make(Illuminate\Contracts\Console\Kernel::class);
  </code></pre>
  
  <p>My <code>PHP</code> version is <code>5.6.14</code> and I am using <code>XAMPP</code> on <code>windows</code> platform. I have some idea of it happening because of some version conflict between <code>laravel</code> and <code>PHP</code>, but i don't know how to resolve that issue, any help?</p>