From: Tim Düsterhus Date: Thu, 23 Sep 2021 07:23:48 +0000 (+0200) Subject: Deprecated `StringUtil::split()` X-Git-Tag: 5.5.0_Alpha_1~411 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6865514699aacb6494c7bc8ddc117e019c727c3e;p=GitHub%2FWoltLab%2FWCF.git Deprecated `StringUtil::split()` Resolves #4513 --- diff --git a/wcfsetup/install/files/lib/util/StringUtil.class.php b/wcfsetup/install/files/lib/util/StringUtil.class.php index 674bd14c59..b4748b0c9b 100644 --- a/wcfsetup/install/files/lib/util/StringUtil.class.php +++ b/wcfsetup/install/files/lib/util/StringUtil.class.php @@ -325,11 +325,7 @@ final class StringUtil } /** - * Alias to php str_split() function with multibyte support. - * - * @param string $string - * @param int $length - * @return string[] + * @deprecated 5.5 Use \mb_str_split() instead. */ public static function split($string, $length = 1) {