1
0
Fork 0

Check that PHP_ZTS is defined

pull/5740/head
Jordi Boggiano 2016-10-01 13:03:15 +02:00 committed by GitHub
parent 9b08ee48db
commit 1c34248022
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class PlatformRepository extends ArrayRepository
$this->addPackage($phpdebug); $this->addPackage($phpdebug);
} }
if (PHP_ZTS) { if (defined('PHP_ZTS') && PHP_ZTS) {
$phpzts = new CompletePackage('php-zts', $version, $prettyVersion); $phpzts = new CompletePackage('php-zts', $version, $prettyVersion);
$phpzts->setDescription('The PHP interpreter, with Zend Thread Safety'); $phpzts->setDescription('The PHP interpreter, with Zend Thread Safety');
$this->addPackage($phpzts); $this->addPackage($phpzts);