@@ 3489-3496 (lines=8) @@ | ||
3486 | * |
|
3487 | * @return string <p>The character with the highest code point than others.</p> |
|
3488 | */ |
|
3489 | public static function max($arg) |
|
3490 | { |
|
3491 | if (is_array($arg) === true) { |
|
3492 | $arg = implode('', $arg); |
|
3493 | } |
|
3494 | ||
3495 | return self::chr(max(self::codepoints($arg))); |
|
3496 | } |
|
3497 | ||
3498 | /** |
|
3499 | * Calculates and returns the maximum number of bytes taken by any |
|
@@ 3552-3559 (lines=8) @@ | ||
3549 | * |
|
3550 | * @return string <p>The character with the lowest code point than others.</p> |
|
3551 | */ |
|
3552 | public static function min($arg) |
|
3553 | { |
|
3554 | if (is_array($arg) === true) { |
|
3555 | $arg = implode('', $arg); |
|
3556 | } |
|
3557 | ||
3558 | return self::chr(min(self::codepoints($arg))); |
|
3559 | } |
|
3560 | ||
3561 | /** |
|
3562 | * alias for "UTF8::normalize_encoding()" |