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: 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.