stream_get_transports

PHP 5, PHP 7, PHP 8
stream_get_transports - Retrieve list of registered socket transports
Manual
Code Examples

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.

Related Functions

Example of stream_get_transports

Show all examples for stream_get_transports

PHP Version:


Function stream_get_transports:

Streams Functions

Most used PHP functions