cvs: phpdoc /en/reference/stream/functions stream-filter-append.xml stream-filter-prepend.xml

From: Date: Mon, 27 Oct 2008 13:21:19 +0000
Subject: cvs: phpdoc /en/reference/stream/functions stream-filter-append.xml stream-filter-prepend.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2312@lists.php.net to get a copy of this message
lbarnaud Mon Oct 27 13:21:19 2008 UTC Modified files: /phpdoc/en/reference/stream/functions stream-filter-prepend.xml stream-filter-append.xml Log: stream_filter_append() creates two instances of a filter when using read and write filtering. (fixes #46231). http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/stream/functions/stream-filter-prepend.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/reference/stream/functions/stream-filter-prepend.xml diff -u phpdoc/en/reference/stream/functions/stream-filter-prepend.xml:1.13 phpdoc/en/reference/stream/functions/stream-filter-prepend.xml:1.14 --- phpdoc/en/reference/stream/functions/stream-filter-prepend.xml:1.13 Sun Dec 30 00:26:59 2007 +++ phpdoc/en/reference/stream/functions/stream-filter-prepend.xml Mon Oct 27 13:21:19 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <refentry xml:id="function.stream-filter-prepend" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>stream_filter_prepend</refname> @@ -63,6 +63,14 @@ <function>stream_filter_append</function>. </simpara> </note> + <note> + <simpara> + When a filter is added for read and write, two instances of the filter + are created. <function>stream_filter_prepend</function> must be called twice + with <constant>STREAM_FILTER_READ</constant> and + <constant>STREAM_FILTER_WRITE</constant> to get both filter resources. + </simpara> + </note> <simpara> See also <function>stream_filter_register</function>, and http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/stream/functions/stream-filter-append.xml?r1=1.18&r2=1.19&diff_format=u Index: phpdoc/en/reference/stream/functions/stream-filter-append.xml diff -u phpdoc/en/reference/stream/functions/stream-filter-append.xml:1.18 phpdoc/en/reference/stream/functions/stream-filter-append.xml:1.19 --- phpdoc/en/reference/stream/functions/stream-filter-append.xml:1.18 Sun Dec 30 00:26:59 2007 +++ phpdoc/en/reference/stream/functions/stream-filter-append.xml Mon Oct 27 13:21:19 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.18 $ --> +<!-- $Revision: 1.19 $ --> <refentry xml:id="function.stream-filter-append" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>stream_filter_append</refname> @@ -100,6 +100,14 @@ <function>stream_filter_prepend</function>. </simpara> </note> + <note> + <simpara> + When a filter is added for read and write, two instances of the filter + are created. <function>stream_filter_append</function> must be called twice + with <constant>STREAM_FILTER_READ</constant> and + <constant>STREAM_FILTER_WRITE</constant> to get both filter resources. + </simpara> + </note> <simpara> See also <function>stream_filter_register</function>,

« previous php.doc.cvs (#2312) next »