socket_export_stream

(PHP 7 >= 7.0.7, PHP 8)

socket_export_streamExport a socket into a stream that encapsulates a socket

Description

socket_export_stream(Socket $socket): resource|false

Warning

This function is currently not documented; only its argument list is available.

Parameters

socket

Return Values

Return resource or false on failure.

Changelog

Version Description
8.0.0 socket is a Socket instance now; previously, it was a resource.
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top