php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11463 Wrong handling of text string "&currency"
Submitted: 2001-06-13 07:42 UTC Modified: 2001-06-15 06:05 UTC
From: ta at alea-active dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.0.4pl1 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
15 + 14 = ?
Subscribe to this entry?

 
 [2001-06-13 07:42 UTC] ta at alea-active dot com
It's not possible to output any content that includes the phrase "&curren" in it. The &curren gets replaced by some mystic char "?".

The following script reproduces the error:

<?

    // This gets displayed wrong
    echo "&curren";
    echo "<BR>";
    // Ths gets displayed wrong also
    echo "&currency";
    echo "<BR>";
    // This is rendered correctly
    echo "&curre";

?>

This error is reproducable on the php sites also (zend.com/php3.com). Just search for something and type "&curren" as the search string.


Sincerely

Tom Arnold
Chief Management Application Services
alea active GmbH

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-13 13:29 UTC] sniper@php.net
You gotta be kidding? Don't you know anything about HTML??
This is definately NOT a bug in PHP..


 [2001-06-15 06:05 UTC] ta at alea-active dot com
You're right. I already saw that. It's an IE bug, IE auto completes the &curren statement to &curren; while netscape doesn't do that.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jul 07 02:05:43 2022 UTC