Document how filters treat internal read buffer.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155106 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sara Golemon 2004-04-01 03:57:39 +00:00
parent bb9aef6207
commit 61c81fa820
2 changed files with 22 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<refentry id="function.stream-filter-append">
<refnamediv>
<refname>stream_filter_append</refname>
@ -84,6 +84,15 @@ Guvf vf n grfg
in order to register the desired user filter to <parameter>filtername</parameter>.
</simpara>
</note>
<note>
<simpara>
Stream data is read from resources (both local and remote) in chunks,
with any unconsumed data kept in internal buffers. When a new
filter is appended to a stream, data in the internal buffers is processed through
the new filter at that time. This differs from the behavior of
<function>stream_filter_prepend</function>.
</simpara>
</note>
<simpara>
See also
<function>stream_filter_register</function>, and

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<refentry id="function.stream-filter-prepend">
<refnamediv>
<refname>stream_filter_prepend</refname>
@ -45,6 +45,17 @@
in order to register the desired user filter to <parameter>filtername</parameter>.
</simpara>
</note>
<note>
<simpara>
Stream data is read from resources (both local and remote) in chunks,
with any unconsumed data kept in internal buffers. When a new
filter is prepended to a stream, data in the internal buffers,
which has already been processed through other filters will
<emphasis>not</emphasis> be reprocessed through the new filter
at that time. This differs from the behavior of
<function>stream_filter_append</function>.
</simpara>
</note>
<simpara>
See also
<function>stream_filter_register</function>, and