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

From: Date: Wed, 17 Jul 2002 07:51:26 +0000
Subject: Bug #18384: Feature request: return value for set_time_limit()
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14380@lists.php.net to get a copy of this message
From: shaun@shat.net Operating system: FreeBSD 4.6 PHP version: 4.2.1 PHP Bug Type: Feature/Change Request Bug description: Feature request: return value for set_time_limit() 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 bug report at http://bugs.php.net/?id=18384&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18384&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18384&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18384&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18384&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18384&r=support Expected behavior: http://bugs.php.net/fix.php?id=18384&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18384&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18384&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18384&r=globals

« previous php.bugs (#14380) next »