PHP - Manual: socket_export_stream
2025-03-31
(PHP 7 >= 7.0.7, PHP 8)
socket_export_stream — Export a socket into a stream that encapsulates a socket
socket
Return resource 或者在失败时返回 false
.
官方地址:https://www.php.net/manual/en/function.socket-export-stream.php