We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since PHP 8, sockets are not considered as resources anymore but object.
In Socket.php
if (!is_resource($this->socket)) { return false; }
should become
if (!(is_resource($this->socket) || $this->socket instanceof \Socket)) { return false; }
see https://php.watch/versions/8.0/sockets-sockets-addressinfo
The text was updated successfully, but these errors were encountered:
I've just noticed that it'is a duplicate of issue #11.
Sorry, something went wrong.
No branches or pull requests
Since PHP 8, sockets are not considered as resources anymore but object.
In Socket.php
should become
see https://php.watch/versions/8.0/sockets-sockets-addressinfo
The text was updated successfully, but these errors were encountered: