Re: Re: Bug #15535 Updated: Un-HTML-Entities
| From: | Derick Rethans | Date: | Thu, 14 Feb 2002 12:23:34 +0000 |
| Subject: | Re: Re: Bug #15535 Updated: Un-HTML-Entities | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80040@lists.php.net to get a copy of this message | ||
On Thu, 14 Feb 2002, Yasuo Ohgaki wrote:
> Wez Furlong wrote:
> > 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.
>
> Why not?
Because it adds another function which is not really needed (you can do it
with three lines of PHP). But I don't care much if it gets added or not,
I'm -0 on this .
Derick
>
> >
> > 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.
> >>
> >
> >
>
> --
> Yasuo Ohgaki
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Derick Rethans
---------------------------------------------------------------------
PHP: Scripting the Web - www.php.net - derick@php.net
SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------