title: Laravel:syntax error in vendor/laravel/framework/src/Illuminate/Support/Arr.php on line 384
body: <p>I tried to make a new laravel project work on my debian vps but nothing go right. I init the project with the basic <code>composer create-project laravel/laravel</code>, change the permissions to <code>755</code> so everything that is explained <a href="https://devmarketer.io/learn/deploy-laravel-5-app-lemp-stack-ubuntu-nginx" rel="nofollow noreferrer">here</a>.</p>
  
  <p>But I always have an <code>error 500</code> when I tried to access to my <code>&lt;pathToMyProject&gt;/public</code> folder and when I read my php's logs is see this message : </p>
  
  <blockquote>
    <p>PHP Parse error:  syntax error, unexpected '=' in /vendor/laravel/framework/src/Illuminate/Support/Arr.php  on line 384</p>
  </blockquote>
  
  <p>What can be the problem ? I precise that my php version is <code>&gt;7.1</code></p>