|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69023 Documentation problem
Submitted: 2015-02-10 10:18 UTC Modified: 2015-02-19 23:26 UTC
From: gruzintsev at gmail dot com Assigned: aharvey (profile)
Status: Closed Package: Website problem
PHP Version: 5.5Git-2015-02-10 (snap) OS: ubuntu
Private report: No CVE-ID: None
 [2015-02-10 10:18 UTC] gruzintsev at gmail dot com
From manual page:

This page exist:
"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."

strip_tags("<br/>", "<br>") return '<br/>'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-19 23:25 UTC]
Automatic comment from SVN on behalf of aharvey
Log: Fix strip_tags() documentation around XHTML allowable tags.

Fixes doc bug #69023 (Documentation problem).
 [2015-02-19 23:26 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: aharvey
 [2015-02-19 23:26 UTC]
The fix for this bug has been committed. Since the websites are not directly
updated from the repository, the fix might need some time to spread
across the globe to all mirror sites, including itself.

Thank you for the report, and for helping us make better.

This looks like it was part of the fallout from bug #53319 — the documentation that was committed there was misleading.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Aug 11 03:01:26 2020 UTC