Validate_FI::finuid

Validate_FI::finuid() – Validate Finnish Unique Identification Number (SATU)

Synopsis

require_once 'Validate/FI.php';

bool Validate_FI::finuid ( string $number )

Description

Validate Finnish Unique Identification Number (SATU). Format: xxxxxxxxy.

FINUID (SATU) is a 9 digit number. The last digit is a control number.

Parameter

string $number

FINUID number to be validated

Return value

boolean - true if FINUID is valid, false otherwise

Example

Using finuid()

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

$finuid '10011187H';
if ( 
Validate_FI::finuid($finuid) ) {{
    print 
'Valid';
} else {
    print 
'Not valid!';
}
?>