Php-Echo-Server-Client is a project mainly written in PHP, it's free.
An example of a echo server / client using php sockets.
Always wanted to learn how to write a server / client using php sockets. Well here is my test. Nothing all that exciting to see but a good place to start for future server / client applications.
To Run:
php server.php
then
php client.php