/** * 设置代理 * * @param mixed $proxies * array ( * 'http': 'socks5://user:pass@host:port', * 'https': 'socks5://user:pass@host:port' *) * @return void * @author seatle <*****@*****.**> * @created time :2016-09-18 10:17 */ public static function set_proxies($proxies) { self::$proxies = $proxies; }