Get URL content using Curl

Return content of loaded URL.

php
fork add to bundle source
function curl_get($url) { $ch = curl_init($url); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true ]); return curl_exec($ch); }
create log ...inout