title: laravel "Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)"
body: <p>i moved my laravel project from local to sharedhost
  but the laravel give this error : </p>
  
  <pre><code>"Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)"
  </code></pre>
  
  <p>in </p>
  
  <pre><code>public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
  </code></pre>
  
  <p>host php version : 7.0</p>
  
  <p><a href="https://i.stack.imgur.com/jODrI.jpg" rel="noreferrer">image</a></p>