giggsey / libphonenumber-for-php

PHP version of Google's phone number handling library
https://giggsey.com/libphonenumber/
Apache License 2.0
4.74k stars 466 forks source link

Some valid German numbers seem to be returned as invalid. #656

Closed afcamps closed 1 day ago

afcamps commented 1 day ago

Sorry about RGPD compliance,

We have had issues with valid numbers under other external controls.

This number is invalid in the version >=8.13.43.

eg: +4915253846891

https://www.ipqualityscore.com/reverse-phone-number-lookup/lookup/DE/4915253846891

giggsey commented 1 day ago

Hi,

That number validates on both the Google and PHP demo pages:

afcamps commented 1 day ago

Hi @giggsey,

Thanks for your quick reply, My bad, I copied the wrong number.

https://www.ipqualityscore.com/reverse-phone-number-lookup/lookup/DE/1765992346

In version v8.13.42 image

In master image

giggsey commented 1 day ago

Google's demo is reporting it as invalid: https://libphonenumber.appspot.com/phonenumberparser?number=01+765992346&country=DE

Check the FAQ for checking with invalid numbers. You should report the issue to them.

afcamps commented 1 day ago

Thanks for your time,

I've seen the google lib results, I'll dig into that. Sorry I missed the FAQ section.

I'm closing this issue.