PHP WebSockets server - how to?

I’m wondering how to make a vanilla PHP WebSockets server. I’ve already got a basic thing happening up at my project websocketstest, and I’m referring to this article. Could anybody please guide me in the right direction?

try talking to @RiversideRocks