jsmitty12 / phpWhois

phpWhois general repository
GNU General Public License v2.0
56 stars 20 forks source link

some IPs' parsing output are inconsistent with most others #88

Open yespire opened 3 years ago

yespire commented 3 years ago

output of 207.237.77.123 has excessive numeric keys:

^ array:3 [
  "regrinfo" => array:5 [
    ....
    "network" => array:2 [
      0 => array:7 [
        "inetnum" => "207.237.0.0 - 207.237.255.255"
        "name" => "RCN-BLK-13"
        "handle" => "NET-207-237-0-0-1"
        "status" => "Direct Allocation"
        "created" => "2013-07-09"
        "changed" => "2017-01-28"
        "desc" => array:1 [
          0 => "For all abuse issues, please contact abuse@rcn.com"
        ]
      ]
      1 => array:5 [
        "handle" => "RCN-BLK-13"
        "name" => "RCN-BLK-13"
        "inetnum" => "207.237.0.0 - 207.237.255.255"
        "created" => "-- ::"
        "changed" => "-- ::"
      ]
    ]
    ....