Validate_FI::refNum

Validate_FI::refNum() – Validate Finnish bank reference number

Synopsis

require_once 'Validate/FI.php';

bool Validate_FI::refNum ( string $number )

Description

Validate Finnish bank reference number.

This method checks the bank reference number according to Finnish Bank Association.

Parameter

string $number

Finnish bank reference number to be validated (spaces and dashes tolerated)

Return value

boolean - true if reference number is valid, false otherwise

Example

Using refNum()

<?php
// Include the package
require_once 'Validate/FI.php';

$refNum '61 74354';
if ( 
Validate_FI::refNum($refNum) ) {
    print 
'Valid';
} else {
    print 
'Not valid!';
}
?>
Validate Finnish bank account number (Previous) Validate credit card number (Next)
Last updated: Wed, 23 Apr 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.