我file_get_contents()在循环中使用该方法调用一系列链接.每个链接可能需要15分钟以上才能处理.现在,我担心PHP是否file_get_contents()有超时期限?
file_get_contents()
如果是,它将超时通话并转到下一个链接.如果没有事先完成,我不想打电话给下一个链接.
那么,请告诉我是否file_get_contents()有超时期限.包含的文件file_get_contents()设置set_time_limit()为零(无限制).
set_time_limit()
php timeout file-get-contents
file-get-contents ×1
php ×1
timeout ×1