Req #19607 [Opn->Wfx]: Fourth argument for htmlentities()

From: Date: Fri, 12 Jul 2013 12:59:58 +0000
Subject: Req #19607 [Opn->Wfx]: Fourth argument for htmlentities()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-180222@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=19607&edit=1 ID: 19607 Updated by: maarten@php.net Reported by: marcel_normann at gmx dot net Summary: Fourth argument for htmlentities() -Status: Open +Status: Wont fix Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues Operating System: all PHP Version: 4CVS-2002-09-26 Block user comment: N Private report: N New Comment: 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). Previous Comments: ------------------------------------------------------------------------ [2002-09-26 01:56:36] 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". ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=19607&edit=1

« previous php.bugs (#180222) next »