private function replace(array $number, $fractions = false)
    {
        return $this->zeroTrim($this->target->splitString(strtr(implode('', $this->zeroPad(
            $this->source->canonizeDigits($number),
            $fractions
        )), $this->conversionTable)), $fractions);
    }
private function replace(array $number, $fractions = false)
    {
        return $this->zeroTrim($this->target->splitString(strtr(implode('', $this->zeroPad(
            $this->source->canonizeDigits($number),
            $fractions
        )), $this->conversionTable)), $fractions);
    }
private function replace ( array $ number , $ fractions = false ) { return $ this -> zeroTrim ( $ this -> target -> splitString ( strtr ( implode ( '' , $ this -> zeroPad ( $ this -> source -> canonizeDigits ( $ number ) , $ fractions ) ) , $ this -> conversionTable ) ) , $ fractions ) ; }
Replace digits using string replacement.
@param array $number The digits to convert
@param bool $fractions True if converting fractions, false if not
@return array The digits converted to target base
Replace digits using string replacement .