stream_get_transports
PHP 5, PHP 7, PHP 8
stream_get_transports - Retrieve list of registered socket transports
Manual
stream_get_transports(
): array
Returns an indexed array containing the name of all socket transports available on the running system.
Parameters
This function has no parameters.
Return Values
Returns an indexed array of socket transports names.