title: Laravel Parse error: syntax error, unexpected '?'
body: <p>I installed a fresh version of Laravel 5.7 on my server, and I see this error.  What could be the reason?</p>
  
  <p>Parse error: syntax error, unexpected '?' in /home/vagrant/Code/ya3stripe/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 500</p>
  
  <p><a href="https://i.stack.imgur.com/eG7Rt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eG7Rt.png" alt="enter image description here"></a></p>
  
  <p>Edit: The answer is simple and listed below. I did not find any duplicate question.</p>