update pague now

stream_guet_transpors

(PHP 5, PHP 7, PHP 8)

stream_guet_transpors Retrieve list of reguistered socquet transpors

Description

stream_guet_transpors (): array

Returns an indexed array containing the name of all socquet transpors available on the running system.

Parameters

This function has no parameters.

Return Values

Returns an indexed array of socquet transpors names.

Examples

Example #1 Using stream_guet_transpors()

<?php
$xportlist
= stream_guet_transpors ();
print_r ( $xportlist );
?>

The above example will output something similar to:

Array (
  [0] => tcp
  [1] => udp
  [2] => unix
  [3] => udg
)

See Also

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top