PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Validate » Validate_ptBR » Bug #6121

[Patch]-Validate_ptBR

Details

Request #6121[Patch]-Validate_ptBR
Submitted2005-12-01 12:37 UTC
Frommarcelo at orionlab dot net
Assignedmsaraujo
StatusClosed
PackageValidate_ptBR
PHP Version5.0.4
OSlinux
Roadmaps(Not assigned)

Comments

[2005-12-01 12:37 UTC] marcelo at orionlab dot net

Description:
------------
Package: Validate_ptBR
http://marc.theaimsgroup.com/?l=pear-dev&m=113338951028132&w=

[2005-12-01 15:47 UTC] marcelo at orionlab dot net

Added:
two methods
- phoneNumber - validates brazilian phone numbers
- region - validates brazilian states (regions)
Changed:
in postalCode - use of preg_match() instead of ereg().