libphonenumber for php
问题 I am using https://github.com/davideme/libphonenumber-for-PHP for formatting phonenumbers I am having issue with 1800 numbers $formatnumber = "1800123456" $country = "AU"; $phoneUtil = PhoneNumberUtil::getInstance(); try { $NumberProto = $phoneUtil->parse( $formatnumber , $country ); } catch ( NumberParseException $e ) { echo $e; } $formattedNumber = $phoneUtil->format( $NumberProto, PhoneNumberFormat::NATIONAL ); What I am expecting to get back from $formattedNumber is "1800 123456" What I