<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\LBS; class IpLocationResponse { public static $keys = array('country', 'province', 'city', 'district', 'isp'); public static function fromArray($MGhSY) { goto wQaUK; icv22: foreach (self::$keys as $FYJFh) { $om_hh->{$FYJFh} = isset($MGhSY[$FYJFh]) ? $MGhSY[$FYJFh] : null; } goto G1COm; G1COm: return $om_hh; goto NkKkE; wQaUK: $om_hh = new static(); goto icv22; NkKkE: } public $country; public $province; public $city; public $district; public $isp; }