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