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