cvs: pear /Validate/Validate US.php

From: Date: Sun, 16 Feb 2003 17:29:40 +0000
Subject: cvs: pear /Validate/Validate US.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-8890@lists.php.net to get a copy of this message
pajoye Sun Feb 16 12:29:40 2003 EDT Modified files: /pear/Validate/Validate US.php Log: tabs->spaces Index: pear/Validate/Validate/US.php diff -u pear/Validate/Validate/US.php:1.7 pear/Validate/Validate/US.php:1.8 --- pear/Validate/Validate/US.php:1.7 Sun Feb 16 12:25:09 2003 +++ pear/Validate/Validate/US.php Sun Feb 16 12:29:40 2003 @@ -17,7 +17,7 @@ // | Tim Gallagher <timg@sunflowerroad.com> | // +----------------------------------------------------------------------+ // -// $Id: US.php,v 1.7 2003/02/16 17:25:09 pajoye Exp $ +// $Id: US.php,v 1.8 2003/02/16 17:29:40 pajoye Exp $ // // Specific validation methods for data used in the United States // @@ -35,9 +35,9 @@ */ function ssn($ssn, $high_groups = null) { - if(is_array($ssn)){ - extract($ssn); - } + if(is_array($ssn)){ + extract($ssn); + } // remove any dashes, spaces, returns, tabs or slashes $ssn = str_replace(array('-','/',' ',"\t","\n"), '', $ssn); @@ -68,9 +68,9 @@ */ function ssnGroupRange($groupNumber) { - if(is_array($groupNumber)){ - extract($groupNumber); - } + if(is_array($groupNumber)){ + extract($groupNumber); + } if ($groupNumber < 10) { // is the number odd? if ($groupNumber % 2) { @@ -100,9 +100,9 @@ */ function ssnCheck($area, $group, $serial, &$high_groups) { - if(is_array($area)){ - extract($area); - } + if(is_array($area)){ + extract($area); + } // perform trivial checks // no field should contain all zeros if (!($area && $group && $serial)) {

« previous php.pear.cvs (#8890) next »