July 8

Asynchronous PHP

I stumbled upon this excellent video while searching for React PHP tutorials. It shows implementation of asynchronous processes using curl_multi_exec, pcntl_fork, socket select and many other techniques and libraries. After discussing the pros and cons of each approach it shows proper way of asynchronous implementation using ReactPHP library.