Req #9676 [Opn->Bgs]: Feature request for set_time_limit
| From: | jani@php.net | Date: | Wed, 24 Nov 2010 08:02:21 +0000 |
| Subject: | Req #9676 [Opn->Bgs]: Feature request for set_time_limit | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-156345@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=9676&edit=1
ID: 9676
Updated by: jani@php.net
Reported by: tboothby at felfel dot com
Summary: Feature request for set_time_limit
-Status: Open
+Status: Bogus
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: Red Hat Linux 6.2
PHP Version: 4.0.4pl1
Block user comment: N
Private report: N
New Comment:
Same as bug #11592 which is better analyzed.
Previous Comments:
------------------------------------------------------------------------
[2001-03-10 22:04:31] tboothby at felfel dot com
Taken from the user notes about set_time_limit()
"malhavoc at stomped.com
23-Feb-2001 05:48
I've noticed that using this function doesn't seem to block things that
make calls to services and wait for a response. Setting
set_time_limit(2) and then making a call to
gethostbyaddr(ip.that.does.not.resolve) just sits there until it times
out.
It would be -really- nice if there was a perl-esque type function like
alarm() that lets you set timeouts for specific sections of code, rather
than entire scripts. I'd have great use for a feature that would enable
me to run non crucial pieces of code for a few seconds, and then give up
and move on if it takes too long."
This feature would be very nice.
Thanks for all your efforts,
--tom
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=9676&edit=1