content); $arrayLength = \count(self::$CODEARRAY); $temp = []; for ($posX = 1; $posX <= $length; ++$posX) { for ($posY = 0; $posY < $arrayLength; ++$posY) { if (\substr($this->content, ($posX - 1), 1) === self::$CODEARRAY[$posY]) { $temp[$posX] = self::$CODEARRAY2[$posY]; } } } for ($posX = 1; $posX <= $length; $posX += 2) { if (isset($temp[$posX], $temp[($posX + 1)])) { $temp1 = \explode('-', $temp[$posX]); $temp2 = \explode('-', $temp[($posX + 1)]); $count = \count($temp1); for ($posY = 0; $posY < $count; ++$posY) { $codeString .= $temp1[$posY] . $temp2[$posY]; } } } return $codeString; } }