ronanguilloux / IsoCodes

PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Manufacturing Industry, Phone numbers & Zipcodes for many countries
GNU General Public License v3.0
792 stars 77 forks source link

False positive result #177

Open giolaza opened 2 years ago

giolaza commented 2 years ago
PhoneNumber::validate("+49 171 1234567", "DE") // valid number, all ok

PhoneNumber::validate("+49 171 1234567tt", "DE") //passes validation, must be false

PhoneNumber::validate("+49 171 1234567ttttt", "DE") //catches as wrong number

package vertion: 2.3.6