Run PHP Task Asynchronously

后端 未结 15 1097
青春惊慌失措
青春惊慌失措 2020-11-22 15:15

I work on a somewhat large web application, and the backend is mostly in PHP. There are several places in the code where I need to complete some task, but I don\'t want to m

15条回答
  •  逝去的感伤
    2020-11-22 15:34

    Unfortunately PHP does not have any kind of native threading capabilities. So I think in this case you have no choice but to use some kind of custom code to do what you want to do.

    If you search around the net for PHP threading stuff, some people have come up with ways to simulate threads on PHP.

提交回复
热议问题