Req #67309 [Opn->Sus]: get_time_limit / ini_get('max_execution_time');

From: Date: Fri, 06 Aug 2021 10:41:03 +0000
Subject: Req #67309 [Opn->Sus]: get_time_limit / ini_get('max_execution_time');
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235631@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
 Updated by:         cmb@php.net
 Reported by:        martin dot keckeis1 at gmail dot com
 Summary:            get_time_limit / ini_get('max_execution_time');
-Status:             Open
+Status:             Suspended
 Type:               Feature/Change Request
 Package:            *General Issues
 PHP Version:        5.6.0beta3
 Block user comment: N
 Private report:     N

 New Comment:

Well, the mentioned RFC apparently has been withdrawn in favor of
another one, although I couldn't find that.  Anyhow, this feature
obviously would need the RFC process[1], so anyone who is
interested in this should pursue it.  For the time being, I
suspend this ticket.

[1] <https://wiki.php.net/rfc/howto>


Previous Comments:
------------------------------------------------------------------------
[2015-05-10 21:19:59] 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.

------------------------------------------------------------------------
[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


Thread (5 messages)

« previous php.bugs (#235631) next »