public function getRemote($url){
		$ch = curl_init($url);
		curl_setopt_array($ch, [
			CURLOPT_RETURNTRANSFER => true,
			CURLOPT_TIMEOUT => 5,
			CURLOPT_SSL_VERIFYPEER => false,
			CURLOPT_FAILONERROR => true,
		]);
		$result = curl_exec($ch);
		if( false === $result ){
			return false;
		}
		$return = [
			'info' => curl_getinfo($ch),
			'body' => $result,
		];
		curl_close($ch);
		return $return;
	}
public function getRemote($url){
		$ch = curl_init($url);
		curl_setopt_array($ch, [
			CURLOPT_RETURNTRANSFER => true,
			CURLOPT_TIMEOUT => 5,
			CURLOPT_SSL_VERIFYPEER => false,
			CURLOPT_FAILONERROR => true,
		]);
		$result = curl_exec($ch);
		if( false === $result ){
			return false;
		}
		$return = [
			'info' => curl_getinfo($ch),
			'body' => $result,
		];
		curl_close($ch);
		return $return;
	}
public function getRemote ( $ url ) { $ ch = curl_init ( $ url ) ; curl_setopt_array ( $ ch , [ CURLOPT_RETURNTRANSFER => true , CURLOPT_TIMEOUT => 5 , CURLOPT_SSL_VERIFYPEER => false , CURLOPT_FAILONERROR => true , ] ) ; $ result = curl_exec ( $ ch ) ; if ( false === $ result ) { return false ; } $ return = [ 'info' => curl_getinfo ( $ ch ) , 'body' => $ result , ] ; curl_close ( $ ch ) ; return $ return ; }
Get remote assets

@param string $url

@return array|false
Get remote assets