php.net |  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
Votes:1
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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".

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-12 12:59 UTC] maarten@php.net
-Status: Open +Status: Wont fix -Package: Feature/Change Request +Package: *General Issues
 [2013-07-12 12:59 UTC] maarten@php.net
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-2018 The PHP Group
All rights reserved.
Last updated: Mon Nov 19 17:01:26 2018 UTC