mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-12 11:25:35 +08:00
replace ext-zend-opcache with ext-opcache for spc extension list
This commit is contained in:
@@ -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 = [
|
||||||
|
|||||||
Reference in New Issue
Block a user