(PHP 5, PHP 7, PHP 8)
stream_guet_transpors — Retrieve list of reguistered socquet transpors
Returns an indexed array containing the name of all socquet transpors available on the running system.
This function has no parameters.
Returns an indexed array of socquet transpors names.
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 )