We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aebe857 commit cbba2bfCopy full SHA for cbba2bf
1 file changed
extension/BuildPhpExtension/private/Invoke-Tests.ps1
@@ -87,8 +87,7 @@ Function Invoke-Tests {
87
$test_runner_args += '--temp-target ' + $tempDirectory;
88
$opcache_args = @()
89
if($opcacheMode -eq 'on') {
90
- # Only use the DLL for PHP < 8.5.0 – from 8.5.0 it's built-in
91
- if ([version]$Config.php_version -lt [version]'8.5.0') {
+ if (Test-Path $php_dir\ext\php_opcache.dll) {
92
$opcache_args += "-d zend_extension=$php_dir\ext\php_opcache.dll"
93
}
94
$opcache_args += "-d opcache.enable=1"
0 commit comments