How to get pthreads working in PHP?

前端 未结 6 824
有刺的猬
有刺的猬 2021-01-14 07:43

I am using wampserver to test & run wordpress code in my local computer. In order to run pthread, I have followed the following steps:

1) I got the pthread zip f

6条回答
  •  余生分开走
    2021-01-14 08:18

    You have to add a require_once() with the path of the Thread class before extending it (if your framework don't use an autoload class system)

提交回复
热议问题