php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #24323 set_time_limit() does not behave as described
Submitted: 2003-06-24 20:47 UTC Modified: 2004-02-04 12:40 UTC
From: spagmoid at yahoo dot com Assigned: nlopess (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.3.2 OS: WinXP
Private report: No CVE-ID: None
 [2003-06-24 20:47 UTC] spagmoid at yahoo dot com
Description:
------------
The docs state that sleep() doesn't count against the total execution time.  At least on Windows, this is not true.

See the user comments in the manual page.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-03 17:02 UTC] jake67890 at hotmail dot com
furthermore, the error is confusing when a script times out during a large file upload.

Error displayed is: "Fatal error: Maximum execution time of X seconds exceeded" where X is the value of max_execution_time.  However in the case of a file upload terminating, the max_input_time setting is actually the configuration variable that must be changed.
 [2004-02-04 12:40 UTC] nlopess@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=f736e8d6c8c23d96d27a5035a0bbaeaecad35083
Log: fix #24323 added max_inout_time
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC