Code Duplication    Length = 7-7 lines in 2 locations

src/voku/helper/UTF8.php 2 locations

@@ 3836-3842 (lines=7) @@
3833
      return array();
3834
    }
3835
3836
    if (ctype_digit((string)$var1)) {
3837
      $start = (int)$var1;
3838
    } elseif (ctype_xdigit($var1)) {
3839
      $start = (int)self::hex_to_int($var1);
3840
    } else {
3841
      $start = self::ord($var1);
3842
    }
3843
3844
    if (!$start) {
3845
      return array();
@@ 3848-3854 (lines=7) @@
3845
      return array();
3846
    }
3847
3848
    if (ctype_digit((string)$var2)) {
3849
      $end = (int)$var2;
3850
    } elseif (ctype_xdigit($var2)) {
3851
      $end = (int)self::hex_to_int($var2);
3852
    } else {
3853
      $end = self::ord($var2);
3854
    }
3855
3856
    if (!$end) {
3857
      return array();