$data = @socket_read($read_sock, 1024, PHP_NORMAL_READ);
// check if the client is disconnected
- if (($data === false) || (in_array(strtolower(trim($data)), $leaving))) {
+ if (($data === FALSE) || (in_array(strtolower(trim($data)), $leaving))) {
// remove client for $clients array
$key = array_search($read_sock, $clients);