Bug #18384 Updated: Feature request: return value for set_time_limit()

From: Date: Wed, 17 Jul 2002 08:04:27 +0000
Subject: Bug #18384 Updated: Feature request: return value for set_time_limit()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14386@lists.php.net to get a copy of this message
ID: 18384 Updated by: derick@php.net Reported By: shaun@shat.net -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: FreeBSD 4.6 PHP Version: 4.2.1 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-07-17 03:51:25] shaun@shat.net Feature Request: Currently, set_time_limit() has a void return. There is no way to determine at runtime (from within the script) whether or not the call succeeded. I would like for set_time_limit() to return a value indicating whether or not it was successful. It would be helpful to have a boolean return value which would return TRUE if set_time_limit() succeeded and the default max_execution_time was overridden, or FALSE if the default max_execution_time could not be overridden. Thank you! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18384&edit=1

« previous php.bugs (#14386) next »