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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php