Socket resource was change on PHP8 and it's class object instead of resource.
Need to change the condition in Socket.php from:
if (!is_resource($this->socket)) return false;
to:
if (!is_resource($this->socket) && !$this->socket instanceof \Socket) return false;
Hello
Socket resource was change on PHP8 and it's class object instead of resource.
Need to change the condition in Socket.php from:
if (!is_resource($this->socket)) return false;
to:if (!is_resource($this->socket) && !$this->socket instanceof \Socket) return false;
More info can be found here: https://php.watch/versions/8.0/sockets-sockets-addressinfo#sockets-is-resource