title: Does file_get_contents() have a timeout setting?
body: <p>I am calling a series of links using the <a href="http://php.net/file_get_contents" rel="noreferrer"><code>file_get_contents()</code></a> method in a loop. Each link may take more than 15 minutes to process. Now, I worry about whether PHP's <code>file_get_contents()</code> has a timeout period?</p>
  
  <p>If yes, it will time out with a call and move to next link. I don't want to call the next link without the prior one finishing.</p>
  
  <p>So, please tell me whether <code>file_get_contents()</code> has a timeout period. The file which contains the <code>file_get_contents()</code> is set to <a href="http://php.net/set_time_limit" rel="noreferrer"><code>set_time_limit()</code></a> to zero (unlimited).</p>