pollita Tue Jan 7 17:37:01 2003 EDT
Modified files:
/phpdoc/en/reference/stream/functions stream-get-filters.xml
Log:
Optional parameter removed, example added.
Index: phpdoc/en/reference/stream/functions/stream-get-filters.xml
diff -u phpdoc/en/reference/stream/functions/stream-get-filters.xml:1.2
phpdoc/en/reference/stream/functions/stream-get-filters.xml:1.3
--- phpdoc/en/reference/stream/functions/stream-get-filters.xml:1.2 Mon Jan 6
20:57:08 2003
+++ phpdoc/en/reference/stream/functions/stream-get-filters.xml Tue Jan 7 17:37:00
+2003
@@ -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:
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php