Req #67309 [Com]: get_time_limit / ini_get('max_execution_time');
| From: | fgm at osinet dot fr | Date: | Sun, 10 May 2015 21:20:01 +0000 |
| Subject: | Req #67309 [Com]: get_time_limit / ini_get('max_execution_time'); | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-192613@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67309&edit=1
ID: 67309
Comment by: fgm at osinet dot fr
Reported by: martin dot keckeis1 at gmail dot com
Summary: get_time_limit / ini_get('max_execution_time');
Status: Open
Type: Feature/Change Request
Package: *General Issues
PHP Version: 5.6.0beta3
Block user comment: N
Private report: N
New Comment:
@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.
Previous Comments:
------------------------------------------------------------------------
[2014-07-17 11:05:51] martin dot keckeis1 at gmail dot com
That would be fine too.
Just being consistent =)
------------------------------------------------------------------------
[2014-07-16 22:23:34] yohgaki@php.net
Refer to
https://wiki.php.net/rfc/deprecate-ini-functions
IMHO, all of INI functions other than ini_get()/ini_set() should be gone for the sake of simplicity.
------------------------------------------------------------------------
[2014-05-20 11:13:34] martin dot keckeis1 at gmail dot com
Description:
------------
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 :-)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67309&edit=1