php拡張携帯電話番号帰属地
functions
install
php.ini
example0省1都市2郵便番号3区番号4番号タイプ(1移動2連通3電信4電信仮想事業者5連通仮想事業者6移動仮想事業者) 私達の専属QQ討論グループに参加することを歓迎します①233415606②233415756
array|bool phone(string $phone)
install
git clone https://github.com/jonnywang/phone.git
cd phone
phpize
./configure
make
make install
php.ini
extension=phone.so
phone.enable=1
phone.dict_path=/Users/xingqiba/data/softs/phone/phone.dat
example
$result = phone('1367152');
Array
(
[0] =>
[1] =>
[2] => 200000
[3] => 021
[4] => 1
)