Revert corrupted revert

This commit is contained in:
crazywhalecc 2025-08-03 23:01:09 +08:00
parent ea4905cd0d
commit 4cbe4ea82d
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -98,7 +98,8 @@ class MacOSBuilder extends UnixBuilderBase
$this->emitPatchPoint('before-php-configure'); $this->emitPatchPoint('before-php-configure');
SourcePatcher::patchBeforeConfigure($this); SourcePatcher::patchBeforeConfigure($this);
$json_74 = $this->getPHPVersionID() < 80000 ? '--enable-json ' : ''; $phpVersionID = $this->getPHPVersionID();
$json_74 = $phpVersionID < 80000 ? '--enable-json ' : '';
$zts = $this->getOption('enable-zts', false) ? '--enable-zts --disable-zend-signals ' : ''; $zts = $this->getOption('enable-zts', false) ? '--enable-zts --disable-zend-signals ' : '';
$opcache_jit = !$this->getOption('disable-opcache-jit', false); $opcache_jit = !$this->getOption('disable-opcache-jit', false);