Validate_FI::bikeLicensePlate() – Validate Finnish motorbike license plate number


require_once 'Validate/FI.php';

bool Validate_FI::bikeLicensePlate ( string $number )


Validate Finnish motorbike license plate number. Format: AAAXXX. First or only number cannot be zero.

Where AAA is 2-3 letters UPPERCASE A-Z + ÅÄÖ and XXX is 1-3 numbers. Letters and numbers are actually in separate lines.


string $number

The license plate number to be validated

Return value

boolean - true if license plate number is valid, false otherwise


Using bikeLicensePlate()

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

$bikeLicensePlate 'ABC123';
if ( 
Validate_FI::bikeLicensePlate($bikeLicensePlate) ) {
} else {
'Not valid!';
Validate Finnish car license plate number (Previous) Validate Personal Identity Number (HETU) (Next)
Last updated: Sun, 19 Dec 2010 — 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.