Validate_FI::bikeLicensePlate()

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

Synopsis

require_once 'Validate/FI.php';

bool Validate_FI::bikeLicensePlate (string $number)

Description

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.

Parameter

string $number

The license plate number to be validated

Return value

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

Example