1
0
Fork 0

Merge pull request #272 from justinrainbow/bug_211

SplFixedArray issue also affects PHP 5.3.3
pull/269/merge
Jordi Boggiano 2012-02-01 08:38:37 -08:00
commit 2e9de65ae0
1 changed files with 1 additions and 1 deletions

View File

@ -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);