Doc #68134 [Opn->Csd]: strip_tags note isn't valid for php version 5.3.4 & higher
| From: | peehaa@php.net | Date: | Wed, 02 Sep 2015 14:52:29 +0000 |
| Subject: | Doc #68134 [Opn->Csd]: strip_tags note isn't valid for php version 5.3.4 & higher | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12703@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68134&edit=1
ID: 68134
Updated by: peehaa@php.net
Reported by: korikulum at net dot hr
Summary: strip_tags note isn't valid for php version 5.3.4 &
higher
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: peehaa
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2015-09-02 00:34:45] cmb@php.net
Related To: Bug #70402
------------------------------------------------------------------------
[2015-05-06 14:15:40] cmb@php.net
Related to #69023.
------------------------------------------------------------------------
[2014-10-02 19:17:12] korikulum at net dot hr
Description:
------------
The following note on the strip_tags page (http://php.net/manual/en/function.strip-tags.php)
isn't valid for php version 5.3.4 & higher:
This parameter should not contain whitespace. strip_tags() sees a tag as a case-insensitive string
between < and the first whitespace or >. It means that strip_tags("<br/>",
"<br>") returns an empty string.
This has been fixed in version 5.3.4:
http://php.net/ChangeLog-5.php#5.3.4
https://bugs.php.net/bug.php?id=53319
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68134&edit=1