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