php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #52092 file_get_contents has timeout
Submitted: 2010-06-16 11:17 UTC Modified: 2010-09-22 03:48 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: pavel dot dohnal at twobits dot cz Assigned:
Status: Wont fix Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pavel dot dohnal at twobits dot cz
New email:
PHP Version: OS:

 

 [2010-06-16 11:17 UTC] pavel dot dohnal at twobits dot cz
Description:
------------
Function file_get_contents can finish with timeout. Return value is FALSE in that 
case. Could you please add this behaviour as warning into documentation page of 
file_get_contents?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-22 03:48 UTC] cataphract@php.net
-Status: Open +Status: Wont fix
 [2010-09-22 03:48 UTC] cataphract@php.net
If it times out, it's a failure, and is then covered by the phrase in the "return value" section:

"The function returns the read data or FALSE on failure."
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 03:01:25 2025 UTC