1
0
Fork 0

Add php-64bit package if the php version has 64bit ints, fixes #1506, fixes #1511

pull/1520/head
Jordi Boggiano 2013-01-23 15:55:48 +01:00
parent 5bac9ffaaa
commit 8904888a74
1 changed files with 6 additions and 0 deletions

View File

@ -38,6 +38,12 @@ class PlatformRepository extends ArrayRepository
$php->setDescription('The PHP interpreter');
parent::addPackage($php);
if (PHP_INT_SIZE === 8) {
$php64 = new CompletePackage('php-64bit', $version, $prettyVersion);
$php64->setDescription('The PHP interpreter (64bit)');
parent::addPackage($php64);
}
$loadedExtensions = get_loaded_extensions();
// Extensions scanning