Re: Bug #15535 Updated: Un-HTML-Entities

From: Date: Wed, 13 Feb 2002 15:25:37 +0000
Subject: Re: Bug #15535 Updated: Un-HTML-Entities
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-80013@lists.php.net to get a copy of this message
Well, I've already coded it and it's ready to commit :-) Should we include html_entity_decode in CVS? It is effectively the same as the snippet below, just a little bit more obvious that it can be done (and slightly faster). --Wez. On 13/02/02, derick@php.net wrote: > ID: 15535 > +Status: Closed > I'm closing this, because you can do this: > $trans = get_html_translation_table(HTML_ENTITIES); > $str = "Hallo & <Frau> & Krämer" > $original = strtr($str, $trans); > > IMO, this does not warrant a new function.

« previous php.dev (#80013) next »