Introduction – introduction to Validate_FI


Specific validation methods for data used in Finland.


General usage

Every module of Validate follows the same philosophy. Propose some validation method which returns a boolean result.

Some methods have some optional parameters to set stronger checks.

Sample using phoneNumber()

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

// Validate Finnish telephone number
$phoneNumber '+358 40 1234567';
if ( 
Validate_FI::phoneNumber($phoneNumber) ) {
} else {
'Not valid!';


Validate_FI (Previous) Validate Finnish postal code (Next)
Last updated: Fri, 20 Jan 2017 — 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:
  • English

User Notes:

There are no user contributed notes for this page.