title: Download the contents of a URL in PHP even if it returns a 404
body: <p>I want to download the contents of a URL using PHP, even if the HTTP response code is 404. <code>file_get_contents</code> will error out, and I wasn't able to find an answer using Google. How can I do this?</p>