The Socket class

From Get docs
Php/docs/latest/class.socket


The Socket class

Introduction

(PHP 8)

A fully opaque class which replaces Socket resources as of PHP 8.0.0.

Class synopsis

final class Socket {

}

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.socket.php