I am calling a series of links using the file_get_contents()
method in a loop. Each link may take more than 15 minutes to process. Now, I worry about whether PHP's file_get_contents()
has a timeout period?
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.
So, please tell me whether file_get_contents()
has a timeout period. The file which contains the file_get_contents()
is set to set_time_limit()
to zero (unlimited).
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…