title: Json_decode, file_get_contents var_dump returns NULL
body: <p>I'm trying to get file contents from php-generated file with json data. </p>
  
  <p>Json has been already checked by jsonlint.com site. It's valid.</p>
  
  <pre><code>$result = file_get_contents("url"); 
  var_dump(json_decode($result,true));
  </code></pre>
  
  <p>Nginx does not displaying any errors.</p>
  
  <p>Why it doesn't work?
  Json generator is on external server.
  When i pasted it on <a href="http://php.fnlist.com/php/json_decode" rel="nofollow">http://php.fnlist.com/php/json_decode</a> website it was converted correctly.</p>