PHP PThreads multi-threading - how to access object variable within a child example required

Imefungwa Ilichapishwa Miaka 5 iliyopita Kulipwa wakati wa kujifungua
Imefungwa Kulipwa wakati wa kujifungua

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 file. were i'm trying to run get_data function in multiple threads, however the object is not accessible in child process, there must be a simple way to do that.

Preferably someone who has got experience with PHP Pthreads and have it ready on the system to save time. Also i'm using PHP 7.2.

Parallel Processing PHP

Kitambulisho cha Mradi: #18125840

Kuhusu mradi

3 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

3 wafanyakazi huru wanazabuni wastani wa $35 kwa kazi hii

webdroid

Hi , Yes , I am understand your project details , I am a professional Core PHP expert , having 8+ years of professional experience in building the quality custom PHP website so I will help you to PHP PThreads mu Zaidi

$50 USD kwa siku 1
(Maoni 10)
4.2
Manavx

Hi, I have 3+ years of industry experience with expertise in PHP. I can easily do this project for you in your budget and on time. Hope to hear from you. Regards, Manvendra

$25 USD kwa siku 1
(Maoni 10)
3.9