PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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().