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


require_once 'Validate/FI.php';

bool Validate_FI::refNum ( string $number )


Validate Finnish bank reference number.

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


string $number

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

Return value

boolean - true if reference number is valid, false otherwise


Using refNum()

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

$refNum '61 74354';
if ( 
Validate_FI::refNum($refNum) ) {
} else {
'Not valid!';
Validate Finnish bank account number (Previous) Validate credit card number (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.