|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #19607 Fourth argument for htmlentities()
Submitted: 2002-09-26 01:56 UTC Modified: 2013-07-12 12:59 UTC
Avg. Score:4.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: marcel_normann at gmx dot net Assigned:
Status: Wont fix Package: *General Issues
PHP Version: 4CVS-2002-09-26 OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: marcel_normann at gmx dot net
New email:
PHP Version: OS:


 [2002-09-26 01:56 UTC] marcel_normann at gmx dot net
Htmlentities() schould have a fourth argument where you can add chars that will not be translated.

For example <? echo htmlentites("Uml??t?"); ?> will return "Uml&auml;&uuml;t&szlig;", but <? echo htmlentites("Uml??t?", .., .., "??"); ?> will respond "Uml??t&szlig".


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-12 12:59 UTC]
-Status: Open +Status: Wont fix -Package: Feature/Change Request +Package: *General Issues
 [2013-07-12 12:59 UTC]
No response in 11 years, so safe to conclude that there's little interest in this feature. Also a very good change issue starter also has moved on (other project / workaround like str_replace whitelisted chars afterwards).
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 23:01:25 2019 UTC