February 07, 2007
Selectable Streams In PHP
I've been toying with the idea of implementing selectable streams (like in Java's NIO package) in PHP recently. I have had a good look around and there doesn't seem to be a simple, flexible non-blocking IO implementation out there. I have come across one very nice socket daemon library, which lets you build a server in minutes which is very cool. However, it does only solve building servers and forces the developer to build their server a particular way. Hopefully selectable streams will be a useful solution.