fix: php8
This commit is contained in:
parent
d6864daae4
commit
bbc9d0e7fe
2 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ class StringUtil {
|
|||
}
|
||||
|
||||
static function mb_str_split($str) {
|
||||
return preg_split('~~u', $str, null, PREG_SPLIT_NO_EMPTY);
|
||||
return preg_split('~~u', $str, -1, PREG_SPLIT_NO_EMPTY);
|
||||
}
|
||||
|
||||
static function mb_strtr($str, $from, $to) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue