title: Capture error of php "file_get_contents" silently
body: <p>here is the code : </p>
  
  <pre><code>if( false == (file_get_contents($jsonaddress)))
  {
      //error
      print ('Error with stream, getting file instead !&lt;br /&gt;');
      $jsonaddress = 'listedesodeurs.txt';
  } 
  
  else 
  {
      //noerror
      print ('Sucessfully GET data from JSON stream&lt;br /&gt;');
      $jsoncontent = file_get_contents($jsonaddress);
      $size = file_put_contents('listedesodeurs.txt', $jsoncontent);
      echo ('Making backup of stream in file : '.round(($size/1024),0).' KB &lt;br /&gt;');
  }
  </code></pre>
  
  <p>When the file_get_contents = true (no error) everything get well
  when the file_get_contents = false I juste got THE big error message at screen... i just like to test it, not execute it !</p>
  
  <p>HOW ?</p>
  
  <p>here is the error message : </p>
  
  <pre><code>[function.file-get-contents]: failed to open stream: Inappropriate ioctl for device in 
  </code></pre>