diff --git a/reference/strings/functions/strip-tags.xml b/reference/strings/functions/strip-tags.xml index baf67ea427..152d7fc086 100644 --- a/reference/strings/functions/strip-tags.xml +++ b/reference/strings/functions/strip-tags.xml @@ -1,5 +1,5 @@ - + @@ -15,8 +15,7 @@ This function tries to return a string with all HTML and PHP tags - stripped from a given str. It errors on - the side of caution in case of incomplete or bogus tags. It uses + stripped from a given str. It uses the same tag stripping state machine as the fgetss function. @@ -29,6 +28,12 @@ and PHP 4.0b3. Since PHP 4.3.0, HTML comments are also stripped. + + + Because strip_tags does not actually validate the + HTML, partial, or broken tags can result in unwanted results. + +