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

stream_get_transports( ): array

Returns an indexed array containing the name of all socket transports available on the running system.


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