Code Duplication    Length = 7-7 lines in 2 locations

src/voku/helper/UTF8.php 2 locations

@@ 3650-3656 (lines=7) @@
3647
      return array();
3648
    }
3649
3650
    if (ctype_digit((string)$var1)) {
3651
      $start = (int)$var1;
3652
    } elseif (ctype_xdigit($var1)) {
3653
      $start = (int)self::hex_to_int($var1);
3654
    } else {
3655
      $start = self::ord($var1);
3656
    }
3657
3658
    if (!$start) {
3659
      return array();
@@ 3662-3668 (lines=7) @@
3659
      return array();
3660
    }
3661
3662
    if (ctype_digit((string)$var2)) {
3663
      $end = (int)$var2;
3664
    } elseif (ctype_xdigit($var2)) {
3665
      $end = (int)self::hex_to_int($var2);
3666
    } else {
3667
      $end = self::ord($var2);
3668
    }
3669
3670
    if (!$end) {
3671
      return array();