@@ 3159-3163 (lines=5) @@ | ||
3156 | self::checkForSupport(); |
|
3157 | } |
|
3158 | ||
3159 | if (self::$SUPPORT['mbstring_func_overload'] === true) { |
|
3160 | $len = \mb_strlen($str, '8BIT'); |
|
3161 | } else { |
|
3162 | $len = \strlen($str); |
|
3163 | } |
|
3164 | ||
3165 | if (self::$ORD === null) { |
|
3166 | self::$ORD = self::getData('ord'); |
|
@@ 4334-4338 (lines=5) @@ | ||
4331 | self::checkForSupport(); |
|
4332 | } |
|
4333 | ||
4334 | if (self::$SUPPORT['mbstring_func_overload'] === true) { |
|
4335 | $len = \mb_strlen($str, '8BIT'); |
|
4336 | } else { |
|
4337 | $len = strlen($str); |
|
4338 | } |
|
4339 | ||
4340 | /** @noinspection ForeachInvariantsInspection */ |
|
4341 | for ($i = 0; $i < $len; $i++) { |
|
@@ 7263-7267 (lines=5) @@ | ||
7260 | self::checkForSupport(); |
|
7261 | } |
|
7262 | ||
7263 | if (self::$SUPPORT['mbstring_func_overload'] === true) { |
|
7264 | $max = \mb_strlen($str, '8BIT'); |
|
7265 | } else { |
|
7266 | $max = strlen($str); |
|
7267 | } |
|
7268 | ||
7269 | $buf = ''; |
|
7270 | ||
@@ 7843-7847 (lines=5) @@ | ||
7840 | // save for later comparision |
|
7841 | $str_backup = $str; |
|
7842 | ||
7843 | if (self::$SUPPORT['mbstring_func_overload'] === true) { |
|
7844 | $len = \mb_strlen($str, '8BIT'); |
|
7845 | } else { |
|
7846 | $len = \strlen($str); |
|
7847 | } |
|
7848 | ||
7849 | if (self::$ORD === null) { |
|
7850 | self::$ORD = self::getData('ord'); |