function waitForChange() {//reset changed$this->changed = array_merge([$this->socket], $this->clients);//variable call time pass by reference req of socket_select$null = null;//this next part is blocking so that we dont run away with cpusocket_select($this->changed, $null, $null, null); }