Code Duplication    Length = 7-7 lines in 2 locations

includes/libraries/protect/AntiXSS/UTF8.php 2 locations

@@ 3826-3832 (lines=7) @@
3823
      return array();
3824
    }
3825
3826
    if (ctype_digit((string)$var1)) {
3827
      $start = (int)$var1;
3828
    } elseif (ctype_xdigit($var1)) {
3829
      $start = (int)self::hex_to_int($var1);
3830
    } else {
3831
      $start = self::ord($var1);
3832
    }
3833
3834
    if (!$start) {
3835
      return array();
@@ 3838-3844 (lines=7) @@
3835
      return array();
3836
    }
3837
3838
    if (ctype_digit((string)$var2)) {
3839
      $end = (int)$var2;
3840
    } elseif (ctype_xdigit($var2)) {
3841
      $end = (int)self::hex_to_int($var2);
3842
    } else {
3843
      $end = self::ord($var2);
3844
    }
3845
3846
    if (!$end) {
3847
      return array();