Code Duplication    Length = 3-3 lines in 2 locations

src/voku/helper/UTF8.php 2 locations

@@ 7115-7117 (lines=3) @@
7112
          if ($ordC0 >= 248) {
7113
            $ordC4 = self::$ORD[$c[4]];
7114
7115
            if ($ordC0 <= 251) {
7116
              $ord = ($ordC0 - 248) * 16777216 + ($ordC1 - 128) * 262144 + ($ordC2 - 128) * 4096 + ($ordC3 - 128) * 64 + ($ordC4 - 128);
7117
            }
7118
7119
            if ($ordC0 >= 252) {
7120
              $ordC5 = self::$ORD[$c[5]];
@@ 7122-7124 (lines=3) @@
7119
            if ($ordC0 >= 252) {
7120
              $ordC5 = self::$ORD[$c[5]];
7121
7122
              if ($ordC0 <= 253) {
7123
                $ord = ($ordC0 - 252) * 1073741824 + ($ordC1 - 128) * 16777216 + ($ordC2 - 128) * 262144 + ($ordC3 - 128) * 4096 + ($ordC4 - 128) * 64 + ($ordC5 - 128);
7124
              }
7125
            }
7126
          }
7127
        }