title: file_get_contents returns empty string
body: <p>I am hesitated to ask this question because it looks weird.
  But anyway.
  Just in case someone had encountered the same problem already...
  filesystem functions (fopem, file, file_get_contents) behave very strange for http:// wrapper</p>
  
  <ul>
  <li>it seemingly works. <strong>no errors raised</strong>. fopen() returns resource. </li>
  <li>it returns no data for all certainly working urls (e.g. <code>http://google.com/</code>).<br>
  file returns empty array, file_get_contents() returns empty string, fread returns false</li>
  <li>for all intentionally wrong urls (e.g. <code>http://goog973jd23le.com/</code>) it behaves exactly the same, save for little [supposedly domain lookup] timeout, after which I get no error (while should!) but empty string.</li>
  <li><strong>url_fopen_wrapper is turned on</strong></li>
  <li>curl (both command line and php versions) works fine, all other utilities and applications works fine, local files opened fine</li>
  </ul>
  
  <p><a href="http://bugs.php.net/bug.php?id=38826" rel="noreferrer">This error</a> seems inapplicable because in my case it doesn't work for every url or host.</p>
  
  <p>php-fpm 5.2.11
  Linux version 2.6.35.6-48.fc14.i686 (mockbuild@x86-18.phx2.fedoraproject.org)</p>