Browse Source

Merge pull request #272 from justinrainbow/bug_211

SplFixedArray issue also affects PHP 5.3.3
Jordi Boggiano 13 years ago
parent
commit
2e9de65ae0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/DependencyResolver/Solver.php

+ 1 - 1
src/Composer/DependencyResolver/Solver.php

@@ -937,7 +937,7 @@ class Solver
             $this->installedMap[$package->getId()] = $package;
         }
 
-        if (version_compare(PHP_VERSION, '5.3.2', '>')) {
+        if (version_compare(PHP_VERSION, '5.3.3', '>')) {
             $this->decisionMap = new \SplFixedArray($this->pool->getMaxId() + 1);
         } else {
             $this->decisionMap = array_fill(0, $this->pool->getMaxId() + 1, 0);