[PHP] PHP Threads (Language) extension?

2008-07-26 Thread Jason Knight
I can't find an extension that would allow you to use the PSOIX thread functions in PHP. I know of the pcntl_ functions but fork() just won't do it for me, I need access to real threads. I started writing an extension to supply an API to POSIX threads but then decided to ask here first to see if

Re: [PHP] Forking and fsock

2008-04-15 Thread Jason Knight
You're trying to save an open socket connection that was gained by the fork()'d process? I don't think that would be possible, since PHP closes all the resources when the process ends. Unless there is some config option to not do that. Jason On Tue, Apr 15, 2008 at 4:16 PM, Kyle Browning <[EMAI

[PHP] Re: Common PHP functions benchmarks

2008-04-10 Thread Jason Knight
Does nobody have any other input? On Tue, Apr 8, 2008 at 12:52 PM, Jason Knight <[EMAIL PROTECTED]> wrote: > I've been running some benchmarks on popular PHP functions. I would like > to get some input on them from the community. So far I have run tests on > Arrays and PH

[PHP] Common PHP functions benchmarks

2008-04-08 Thread Jason Knight
I've been running some benchmarks on popular PHP functions. I would like to get some input on them from the community. So far I have run tests on Arrays and PHP5's SPL ArrayObject, as well as loops and some networking functions. Here is a link to the code used for the benchmarks. http://www.syn