testing pthreads for php