Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.1

Bug #13633 new mobile operator/prefix
Submitted: 2008-04-09 10:58 UTC
From: kguest Assigned: kguest
Status: Closed Package: Validate_IE (version 1.0.0)
PHP Version: 5.2.3 OS:
Roadmaps: 1.0.1    
Subscription  


 [2008-04-09 10:58 UTC] kguest (Ken Guest)
Description: ------------ Tesco have been operating a mobile network in Ireland. Phone numbers on that network have the prefix '089' and do not currently validate. Test script: --------------- require_once 'Validate/IE.php'; $noYes = array('NO', 'YES'); $phoneNumber = "089 1111111"; echo "{$phoneNumber}:"; echo $noYes[Validate_IE::phoneNumber($phoneNumber)]."\n"; Expected result: ---------------- 089 1111111: YES Actual result: -------------- 089 1111111: NO

Comments

 [2008-04-09 22:27 UTC] kguest (Ken Guest)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.