Search code examples
phprubyipcpreforking

Equivalent of Ruby IO in PHP


I am searching for a way to do things like IO.select, IO.pipe in PHP. Googling for hours hasn't given any good results. Basically I need pair of file descriptors for IPC between master process and child for preform server model.


Solution

  • To do IPC communication between processes the stream_socket_pair is key function here