mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 23:35:40 +08:00
Add mbregex support for windows (#351)
* add mbregex support for windows * cs fix * fix curl http2 support
This commit is contained in:
@@ -15,6 +15,8 @@ class mbstring extends Extension
|
||||
$arg = '--enable-mbstring';
|
||||
if ($this->builder->getExt('mbregex') === null) {
|
||||
$arg .= ' --disable-mbregex';
|
||||
} else {
|
||||
$arg .= ' --enable-mbregex';
|
||||
}
|
||||
return $arg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user