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