Fork() in php?
| From: | Jason Greene | Date: | Fri, 11 May 2001 15:10:00 +0000 |
| Subject: | Fork() in php? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54875@lists.php.net to get a copy of this message | ||
What do you guys think about having fork, waitpid, and signal handling available in php?
I wrote a few simple fork test functions, and everything seemed to work fine.
I am thinking that with sockets, shm, signals, and fork capability, there could
be the possibility of someone writing daemons in php : )
Can anyone think of possible problems that could occur in supporting this functionality?
If it were to be added, where should it be added? IMO this type of thing probably
shouldn't exist in ext/standard.
Thanks,
-Jason