mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Typos
This commit is contained in:
parent
20ddc39b6a
commit
da4977f316
1 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue