while(1) { echo ''; flush(); // used to send the echoed data to the client sleep(1); // a little break to unload the server CPU }