title: How to make this code work on PHP 5.3.3
body: <p>I am developing on a server that only supports PHP 5.3.3. I am trying to use Elasticsearch, but it gives me this error: <code>Parse error: syntax error, unexpected '[' in C:\wamp\www\test3\es.php on line 6</code> The code works perfectly on PHP 5.6+ Here's the code:</p>
  
  <pre><code>&lt;?php
      require_once 'vendor/autoload.php';
      use Elasticsearch\ClientBuilder;
  
      /*Build connection*/
      $hosts = [   //&lt;&lt;&lt;&lt;---- Line 6
      'xx.x.xxx.xxx',                // IP + Port
  ];
  
      $es = ClientBuilder::create()    // Instantiate a new ClientBuilder
              -&gt;setHosts($hosts)      // Set the hosts
              -&gt;build();             // Build the client object
  
  ?&gt;
  </code></pre>
  
  <p>It is not recognizing the bracket where it says <code>$hosts = [</code> Is there a way I can make this code run on PHP 5.3.3?</p>