source/Core/SepaIBANValidator.php
protected function _isLengthValid($sIBAN)
    {
        $iActualLength = getStr()->strlen($sIBAN);

        $iCorrectLength = $this->_getLengthForCountry($sIBAN);

        return !is_null($iCorrectLength) && $iActualLength === $iCorrectLength;
    }
protected function _isLengthValid($sIBAN)
    {
        $iActualLength = getStr()->strlen($sIBAN);

        $iCorrectLength = $this->_getLengthForCountry($sIBAN);

        return !is_null($iCorrectLength) && $iActualLength === $iCorrectLength;
    }
protected function _isLengthValid ( $ sIBAN ) { $ iActualLength = getStr ( ) -> strlen ( $ sIBAN ) ; $ iCorrectLength = $ this -> _getLengthForCountry ( $ sIBAN ) ; return ! is_null ( $ iCorrectLength ) && $ iActualLength === $ iCorrectLength ; }
Check if the total IBAN length is correct as per country. If not, the IBAN is invalid.

@param string $sIBAN IBAN

@return bool
Check if the total IBAN length is correct as per country . If not the IBAN is invalid .