replace ext-zend-opcache with ext-opcache for spc extension list

This commit is contained in:
Marc Henderkes
2024-06-07 15:23:11 +02:00
parent d80406b8e0
commit f21522eb9c

View File

@@ -147,6 +147,7 @@ abstract class BaseCommand extends Command
protected function parseExtensionList(string $ext_list): array protected function parseExtensionList(string $ext_list): array
{ {
$ext_list = str_replace('zend-opcache', 'opcache', $ext_list);
$a = array_map('trim', explode(',', $ext_list)); $a = array_map('trim', explode(',', $ext_list));
return array_values(array_filter($a, function ($x) { return array_values(array_filter($a, function ($x) {
$filter_internals = [ $filter_internals = [