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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
18 - 7 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 18:01:28 2024 UTC