HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

stream_get_transports

Description

The stream_get_transports of Stream for PHP retrieve list of registered socket transports.

Syntax

stream_get_transports ( void ) : array

Return

Returns an indexed array of socket transports names.

Examples

1

<?

$return = stream_get_transports();

print_r($return);
Array
(
    [0] => tcp
    [1] => udp
    [2] => unix
    [3] => udg
    [4] => ssl
    [5] => sslv3
    [6] => tls
    [7] => tlsv1.0
    [8] => tlsv1.1
    [9] => tlsv1.2
    [10] => tlsv1.3
)