From 31ead3f041f4ae47342d39176fb27df5e2eb2b6b Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Sun, 21 Feb 2010 02:49:12 +0000 Subject: [PATCH] Note that these functions will trim NULs git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295297 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/fgetss.xml | 2 +- reference/strings/functions/strip-tags.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/filesystem/functions/fgetss.xml b/reference/filesystem/functions/fgetss.xml index 991e04fc03..2c3b5e6d73 100644 --- a/reference/filesystem/functions/fgetss.xml +++ b/reference/filesystem/functions/fgetss.xml @@ -16,7 +16,7 @@ Identical to fgets, except that - fgetss attempts to strip any HTML and PHP tags from + fgetss attempts to strip any NUL bytes, HTML and PHP tags from the text it reads. diff --git a/reference/strings/functions/strip-tags.xml b/reference/strings/functions/strip-tags.xml index d513be911e..0dc856b22f 100644 --- a/reference/strings/functions/strip-tags.xml +++ b/reference/strings/functions/strip-tags.xml @@ -14,7 +14,7 @@ stringallowable_tags - 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 str. It uses the same tag stripping state machine as the fgetss function.