Validate_FI::refNum() -- Validate Finnish bank reference 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)
Возвращаемое значение
boolean - true if reference number is valid, false otherwise
Пример
Пример 62-1.
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!';
}
?> |
|