PHP multi-threading - how to access object variable within a child process - fix required
£10-20 GBP
Kapalı
İlan edilme: 5 yıldan fazla önce
£10-20 GBP
Teslimde ödenir
Hi, trying to do multi threading using PHP and cant find a way sharing or accessing object methods within a child process. Have a look a the example files, i'm trying to run get_data method in multiple threads, however the object is not accessible in child process, there must be a simple way to do that. Looking for someone who has experience with PHP Pthreads, preferably has got PHP extension ready to save time. Alternatively experience with pcntl_fork(), or other multi-threading techniques to replicate similar thing as in my example. Also i'm working with PHP 7.2.