2

How can I run a function in a different thread in PHP? I searched on Google, but I didn't find anything which works.

A simple example would be appreciated.

boti bp
  • 29
  • 1
  • 9
  • Possible duplicate of [How can one use multi threading in PHP applications](http://stackoverflow.com/questions/70855/how-can-one-use-multi-threading-in-php-applications) – Alexandre Tranchant Dec 07 '16 at 10:46
  • @AlexandreT This is not duplicate. Question posted Yii related multithread. I have done multithreading in core php Which you have mentioned duplicate. Unable to do it in Yii1 or Yii2. – Developer Nov 30 '17 at 11:48

0 Answers0