This commit is contained in:
Martin Samesch 2022-04-21 17:18:49 +02:00
parent 20ddc39b6a
commit da4977f316
No known key found for this signature in database
GPG key ID: D916421AD0A9ACD7

View file

@ -130,13 +130,13 @@ $fp = fopen('php://output', 'w');
stream_filter_append($fp, 'string.strip_tags', STREAM_FILTER_WRITE, "<b><i><u>");
fwrite($fp, "<b>bolded text</b> enlarged to a <h1>level 1 heading</h1>\n");
fclose($fp);
/* Outputs: <b>bolded text</b> enlarged to a level 1 heading */
/* Outputs: bolded text enlarged to a level 1 heading */
$fp = fopen('php://output', 'w');
stream_filter_append($fp, 'string.strip_tags', STREAM_FILTER_WRITE, array('b','i','u'));
fwrite($fp, "<b>bolded text</b> enlarged to a <h1>level 1 heading</h1>\n");
fclose($fp);
/* Outputs: <b>bolded text</b> enlarged to a level 1 heading */
/* Outputs: bolded text enlarged to a level 1 heading */
?>
]]>
</programlisting>
@ -206,7 +206,7 @@ fclose($fp);
<title>convert.quoted-printable-encode and convert.quoted-printable-decode</title>
<simpara>
Use of the decode version of this filter is equivalent to processing all stream
data through the <function>quoted_printable_decode</function> functions.
data through the <function>quoted_printable_decode</function> function.
There is no function equivalent to <literal>convert.quoted-printable-encode</literal>.
<literal>convert.quoted-printable-encode</literal> supports parameters given as
an associative array. In addition to the parameters supported by
@ -444,7 +444,7 @@ echo "The compressed file is " . filesize('LICENSE.compressed') . " bytes long.\
/* Generates output:
The original text is 3288 characters long.
The original file is 3288 bytes long.
The compressed file is 1488 bytes long.
*/