A simple PHP WebSocket server example. To run, open a terminal and type: php5 ./server.php Then visit index.php in your browser. You'll need IE10+, FF7+ or Chrome 14+ to run this example.
brunn/PHPWebSocket-Chat
Flexable and extensible WebSocket chat application example with a PHP server.
PHP