<?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision$ --> <refentry xml:id="function.stream-get-transports" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>stream_get_transports</refname> <refpurpose>Retrieve list of registered socket transports</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>stream_get_transports</methodname> <void/> </methodsynopsis> <simpara> Returns an indexed array containing the name of all socket transports available on the running system. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns an indexed array of socket transports names. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Using <function>stream_get_transports</function></title> <programlisting role="php"> <![CDATA[ <?php $xportlist = stream_get_transports(); print_r($xportlist); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ Array ( [0] => tcp [1] => udp [2] => unix [3] => udg ) ]]> </screen> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <simplelist> <member><function>stream_get_filters</function></member> <member><function>stream_get_wrappers</function></member> </simplelist> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->