Optional parameter removed, example added.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@110963 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sara Golemon 2003-01-07 22:37:00 +00:00
parent 19d919fe76
commit 295144502f

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry id="function.stream-get-filters">
<refnamediv>
<refname>stream_get_filters</refname>
@ -9,13 +9,37 @@
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>stream_get_filters</methodname>
<methodparam choice="opt"><type>bool</type><parameter>system</parameter></methodparam>
<void/>
</methodsynopsis>
<simpara>
Returns an indexed array containing the name of all stream filters
available on the running system.
</simpara>
<para>
Returns an indexed array containing the name of all user-defined stream filters
available on the running system. If the <parameter>system</parameter>
parameter is set to true, then system defined filters will be included in the returned
array as well.
<example>
<title>Using <function>stream_get_filters</function></title>
<programlisting role="php">
<![CDATA[
<?php
$streamlist = stream_get_filters();
print_r($streamlist);
/* Output will be similar to the following
Note: there may be more or fewer
filters in your version of PHP
---------------------------------------
Array (
[0] => string.rot13
[1] => string.toupper
[2] => string.tolower
[3] => string.base64
[4] => string.quoted-printable
)
*/
?>
]]>
</programlisting>
</example>
</para>
<para>
See Also: