Implementing multithreading for a huge array in laravel.
Hi guys, I am new to laravel and php and i need a hand. I have been assigned a task in the project i am working. here a huge array containing phone numbers, where i loop through that array and perform some logic on them. The problem is, the process is very slow. so i have been tasked with splitting the for loop process and running them simultaneously. So, i figured i will use multithreading (thinking there is a package for it like in python), I did some research and found pthread. for the life of me, i am not able to understand it ,least of all implement it. so I am looking into it.
So i was hoping whether there are any other solutions.
Please or to participate in this conversation.