php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #12526 additional functinality to get_html_translation_table
Submitted: 2001-08-02 00:37 UTC Modified: 2003-05-08 12:40 UTC
From: dempsejn at georgetown dot edu Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.6 OS: windows ME
Private report: No CVE-ID: None
 [2001-08-02 00:37 UTC] dempsejn at georgetown dot edu
Currently, get_html_translation_table() can use HTML_ENTITIES or HTML_SPECIALCHARS, which is great, but it would be even more helpful to add a complete list of all the — type html entities that aren't in either table currently, so that a user can take the array returned, flip it, and use strtr to translate those characters as well.
I would think this addition would be straightforward, and would offer my time to code it up.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-08 12:40 UTC] moriyoshi@php.net
Now html_entity_decode() can also decodes numeric entities.

This feature will be in php5.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC