Re: Re: Counterpart to htmlentities function: unhtmlentities

From: Date: Wed, 27 Feb 2002 03:55:18 +0000
Subject: Re: Re: Counterpart to htmlentities function: unhtmlentities
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-80428@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote:
Reversing htmlentities is trivial. I don't think it needs a special function. Simply do: $trans = get_html_translation_table(HTML_ENTITIES); $trans = array_flip($trans); $data = strtr($data,$trans); -Rasmus
I agree it's easy. I prefer to have inverse convertion function if there is a convertion function. (If it is possible, of course :) I'm +1 for having the function for this reason. I believe you are not against for it, right?
On Tue, 26 Feb 2002, Brad Fisher wrote:
I have looked at the following: http://www.php.net/anoncvs.php http://cvs.php.net/cvs.php I am rather new to CVS, so perhaps this is a stupid question... I don't see the HEAD branch anywhere... Can I check it out through anon CVS or would I need dev access? Or is this a reference to php4? Perhaps I am just not looking in the right place.
Brad, HEAD is the default branch for CVS (almost always) Just check out source without -r option to check out HEAD branch. -- Yasuo Ohgaki

« previous php.dev (#80428) next »