|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #67309 get_time_limit / ini_get('max_execution_time');
Submitted: 2014-05-20 11:13 UTC Modified: 2014-07-17 11:05 UTC
Avg. Score:2.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: martin dot keckeis1 at gmail dot com Assigned:
Status: Open Package: *General Issues
PHP Version: 5.6.0beta3 OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-05-20 11:13 UTC] martin dot keckeis1 at gmail dot com
Hello together,

for consistency (set_time_limit exists) it would be great if there would be a get_time_limit function.

Same behaviour like ini_get('max_execution_time');

Maybe the return could be a number instead of string :-)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-16 22:23 UTC]
Refer to

IMHO, all of INI functions other than ini_get()/ini_set() should be gone for the sake of simplicity.
 [2014-07-17 11:05 UTC] martin dot keckeis1 at gmail dot com
That would be fine too.

Just being consistent =)
 [2015-05-10 21:19 UTC] fgm at osinet dot fr
@martin dot keckeis1 : set_time_limit() is not a value setter like ini_set() : it resets the running time counter to 0 for a new period of time.

Which does not remove the need for get_time_limit(), though.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Aug 04 19:01:26 2021 UTC