Note that these functions will trim NULs

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295297 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Joey Smith 2010-02-21 02:49:12 +00:00
parent cb99b3dcd9
commit 31ead3f041
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@
</methodsynopsis>
<para>
Identical to <function>fgets</function>, except that
<function>fgetss</function> attempts to strip any HTML and PHP tags from
<function>fgetss</function> attempts to strip any NUL bytes, HTML and PHP tags from
the text it reads.
</para>
</refsect1>

View file

@ -14,7 +14,7 @@
<methodparam choice="opt"><type>string</type><parameter>allowable_tags</parameter></methodparam>
</methodsynopsis>
<para>
This function tries to return a string with all HTML and PHP tags stripped
This function tries to return a string with all NUL bytes, HTML and PHP tags stripped
from a given <parameter>str</parameter>. It uses the same tag stripping
state machine as the <function>fgetss</function> function.
</para>