reference/filesystem/functions/fgetss.xml
cb3e68d99d80a70feafc6f9a1b5f678e4d0522af
...
...
@@ -7,7 +7,7 @@
7
7
</refnamediv>
8
8

9
9
<refsynopsisdiv>
10
-
&warn.deprecated.function-7-3-0;
10
+
&warn.deprecated.function-7-3-0.removed-8-0-0;
11
11
</refsynopsisdiv>
12
12

13
13
<refsect1 role="description">
...
...
@@ -22,6 +22,9 @@
22
22
Identical to <function>fgets</function>, except that
23
23
<function>fgetss</function> attempts to strip any NUL bytes, HTML and PHP tags from
24
24
the text it reads.
25
+
The function retains the parsing state from call to call, and as such is not
26
+
equivalent to calling <function>strip_tags</function> on the return value of
27
+
<function>fgets</function>.
25
28
</para>
26
29
</refsect1>
27
30

...
...
@@ -71,6 +74,7 @@
71
74
</refsect1>
72
75

73
76
<refsect1 role="examples">
77
+
&reftitle.examples;
74
78
<para>
75
79
<example>
76
80
<title>Reading a PHP file line-by-line</title>
...
...
@@ -122,6 +126,8 @@ Text outside of the HTML block.
122
126
<member><function>popen</function></member>
123
127
<member><function>fsockopen</function></member>
124
128
<member><function>strip_tags</function></member>
129
+
<member><methodname>SplFileObject::fgetss</methodname></member>
130
+
<member>The <link linkend="filters.string.strip_tags">string.strip_tags</link> filter</member>
125
131
</simplelist>
126
132
</para>
127
133
</refsect1>
128
134