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