|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40432 strip_tags() fails with greater than in attribute
Submitted: 2007-02-10 15:46 UTC Modified: 2007-02-13 02:16 UTC
From: geoffers at gmail dot com Assigned: iliaa (profile)
Status: Closed Package: Strings related
PHP Version: 5.2.1 OS: Mac OS 10.4.8
Private report: No CVE-ID: None
 [2007-02-10 15:46 UTC] geoffers at gmail dot com
The following valid (X)HTML is not stripped (this has been 
reported before and closed claiming it is invalid ? read the 
SGML and XML specifications ? this is completely valid).

Reproduce code:

echo strip_tags('<span title="test > all">this</span>');


Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-13 02:16 UTC]
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at

PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 08:01:25 2019 UTC