Assignment in the condition is something that I generally try to avoid doing.  Can we move `$curl = curl_init($url)` back to its own line and keep the error check?