Code Duplication    Length = 7-7 lines in 2 locations

src/voku/helper/UTF8.php 2 locations

@@ 3932-3938 (lines=7) @@
3929
      return array();
3930
    }
3931
3932
    if (ctype_digit((string)$var1)) {
3933
      $start = (int)$var1;
3934
    } elseif (ctype_xdigit($var1)) {
3935
      $start = (int)self::hex_to_int($var1);
3936
    } else {
3937
      $start = self::ord($var1);
3938
    }
3939
3940
    if (!$start) {
3941
      return array();
@@ 3944-3950 (lines=7) @@
3941
      return array();
3942
    }
3943
3944
    if (ctype_digit((string)$var2)) {
3945
      $end = (int)$var2;
3946
    } elseif (ctype_xdigit($var2)) {
3947
      $end = (int)self::hex_to_int($var2);
3948
    } else {
3949
      $end = self::ord($var2);
3950
    }
3951
3952
    if (!$end) {
3953
      return array();