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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dempsejn at georgetown dot edu
New email:
PHP Version: OS:

 

 [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: Fri Dec 27 15:01:29 2024 UTC