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

ปิด โพสต์แล้ว 5 ปีที่ผ่านมา ชำระเงินเมื่อจัดส่ง
ปิด ชำระเงินเมื่อจัดส่ง

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

หมายเลขโปรเจค: #18125840

เกี่ยวกับโปรเจกต์

3 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

freelancer 3 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $35

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 เพิ่มเติม

$50 USD ใน 1 วัน
(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 ใน 1 วัน
(10 รีวิว)
3.9