Re: Counterpart to htmlentities function: unhtmlentities
| From: | Yasuo Ohgaki | Date: | Wed, 27 Feb 2002 03:18:55 +0000 |
| Subject: | Re: Counterpart to htmlentities function: unhtmlentities | ||
| References: | 1 | Groups: | php.dev php.mirrors |
| Request: | Send a blank email to php-dev+get-80424@lists.php.net to get a copy of this message | ||
Brad Fisher wrote:
Just another function I have found useful.. PHP has a htmlentities function, but no unhtmlentities function to go the other direction.. (At least not that I am aware of). So, here you go. Don't think this one would perform nearly as quickly if it were done using regexps in PHP... This function also has the added benefit of supporting entities like   which I don't believe would be supported by a naive regexp approach. So if someone would like to include it, be my guest.Could you post unified diff against latest CVS? (HEAD branch) We should have patch submit guide line in www.php.net for these people who are willing to help project :) -- Yasuo Ohgaki