Ce code vérifie si le code postale est correct ou est incorrect.
Ce regex correspond au Code Postal canadien uniquement.
| 
 | 
| 
 | 
| php.net | Description | Versions PHP | OUTIL | 
|---|---|---|---|
| echo | Affiche une chaîne de caractères | PHP 4, PHP 5, PHP 7, PHP 8 | |
| preg_match | Expression rationnelle standard | PHP 4, PHP 5, PHP 7, PHP 8 | |
| return | Retourne le controle du programme au module appelant. | PHP 4, PHP 5, PHP 7, PHP 8 | |
