Perl uses SIGALRM to implement alarms, something which is not an option 
when you're an Apache module.


At 02:13 25/4/2001, Jason Sims wrote:
> > Personally, I think having an alarm (timeout) function is a really good
> > idea.
> >
> > Setting a timer, and then being able to jump from whatever you are doing if
> > it is taking too long is something that has helped me do some really neat
> > stuff in C and Perl... and I was a little dissapointed when I learned PHP
> > didn't have.
>Although I've been able to solve my current problem with fsockopen(), I
>think an alarm function would be nice to have for other things. Perl is
>open-source, right? Probably the best way to implement this in PHP would be
>to look at how Perl is doing it and go from there.
>Jason Sims
>Senior Editor & System Administrator
>Inside Mac Games
>PHP Development Mailing List <>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd.

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to