Introduction | Validate_FI::phoneNumber |
Validate_FI | |
PEAR Manual | |
require_once 'Validate/FI.php'; |
bool Validate_FI::postalCode
(
string $number
,
bool $strong
)
Validate Finnish postal code.
Five digit postal code, maybe with a leading 'FI-' (XXXXX or FI-XXXXX).
An optional parameter for activate strong checks using a list of postcodes (not implemented).
The postal code to be validated
optional; strong checks (e.g. against a list of postal codes)(not implemented)
boolean - true if postal code is valid, false otherwise
Using postalCode()
|
Introduction | Validate_FI::phoneNumber |
Validate_FI | |
PEAR Manual | |