stream_get_transports(3) php man page | unix.com

Man Page: stream_get_transports

Operating Environment: php

Section: 3

STREAM_GET_TRANSPORTS(3)						 1						  STREAM_GET_TRANSPORTS(3)

stream_get_transports - Retrieve list of registered socket transports

SYNOPSIS
array stream_get_transports (void )
DESCRIPTION
Returns an indexed array containing the name of all socket transports available on the running system.
RETURN VALUES
Returns an indexed array of socket transports names.
EXAMPLES
Example #1 Using stream_get_transports(3) <?php $xportlist = stream_get_transports(); print_r($xportlist); ?> The above example will output something similar to: Array ( [0] => tcp [1] => udp [2] => unix [3] => udg )
SEE ALSO
stream_get_filters(3), stream_get_wrappers(3). PHP Documentation Group STREAM_GET_TRANSPORTS(3)
Related Man Pages
get_loaded_extensions(3) - php
get_defined_vars(3) - php
get_declared_classes(3) - php
mb_encoding_aliases(3) - php
stream_socket_client(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation