Parse error: syntax error, unexpected '[', expecting ')' in C:\xampp\htdocs\drupal-8\core\vendor\react\promise\src\functions.php on line 62 I have just installed Drupal 8 development version (drupal-8.0.x-dev) but while running it on my web server I am getting this error:

Parse error: syntax error, unexpected '[', expecting ')' in C:\xampp\htdocs\drupal-8\core\vendor\react\promise\src\functions.php on line 62


Line 62 has code:

59   return resolve($promisesOrValues)
60          -&gt;then(function ($array) use ($howMany) {
61              if (!is_array($array) || !$array || $howMany &lt; 1) {
62                  return resolve([]);
63              }


My PHP version is 5.3.8

Is there anybody else who has faced same issue?
Drupal 8 requires PHP 5.5.9 or higher (for short array syntax among other things).

You'll need to upgrade your version of PHP.

Source: System Requirements