IBAN.php
/**
     * Convert the alphabetical characters into numbers.
     * @param $hash
     * @return string
     */
Convert the alphabetical characters into numbers.
@param $hash
@return string
Convert the alphabetical characters into numbers . @param $hash @return string
private static function convertToDigits($hash)
    {
        $newHash = '';
        for ($i = 0; $i < strlen($hash); $i++) {
            $symbol = $hash[$i];
            if (!is_numeric($symbol)) {
                $symbol = array_search($symbol, IBAN::$digits);
            }
            $newHash .= $symbol;
        }
        return $newHash;
    }
private static function convertToDigits ( $ hash ) { $ newHash = '' ; for ( $ i = 0 ; $ i < strlen ( $ hash ) ; $ i ++ ) { $ symbol = $ hash [ $ i ] ; if ( ! is_numeric ( $ symbol ) ) { $ symbol = array_search ( $ symbol , IBAN :: $ digits ) ; } $ newHash .= $ symbol ; } return $ newHash ; }
Convert the alphabetical characters into numbers.
Convert the alphabetical characters into numbers .