Use constant to set internal and filter extensions

This commit is contained in:
crazywhalecc
2024-06-09 11:35:12 +08:00
parent f21522eb9c
commit 442c620da0
3 changed files with 36 additions and 13 deletions

View File

@@ -19,7 +19,7 @@ $upx = true;
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
$extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'libxml,xlswriter,openssl,core,hash,json,standard,SPL,HASH,REFLECTION',
'Linux', 'Darwin' => 'libxml,xlswriter,openssl,core,hash,json,standard,SPL,HASH,REFLECTION,zend-opcache',
'Windows' => 'mbstring,pdo_sqlite,mbregex',
};