stream_get_transports
PHP 5, PHP 7, PHP 8
stream_get_transports - Retrieve list of registered socket transports
Code Examples
Example #1 Using stream_get_transports
Result: Array (
[0] => tcp
[1] => udp
[2] => unix
[3] => udg
)