title: Laravel Syntax Error
body: <p>i just uploaded my website to a server and i'm currently trying to configure it, have had a lot of issues especially with changing the paths, right now my main issue is this:</p>
  
  <pre><code>PHP Parse error:  syntax error, unexpected '[' in /hermes/bosoraweb097/b1299/dom.epchurchadentaorg/xxxxxxxxxxxxx.com/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 49
  </code></pre>
  
  <p>So i went to that file to check:</p>
  
  <pre><code>if ( ! function_exists('app'))
  {
      /**
       * Get the available container instance.
       *
       * @param  string  $make
       * @param  array   $parameters
       * @return mixed|\Illuminate\Foundation\Application
       */
      function app($make = null, $parameters = []) // Line 49 error
      {
          if (is_null($make)) return Container::getInstance();
  
          return Container::getInstance()-&gt;make($make, $parameters);
      }
  }
  </code></pre>
  
  <p>Now personally i can't see anything wrong with it and it works just fine on my localhost, could there be another issue?</p>