|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ta at alea-active dot com
New email:
PHP Version: OS:


 [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 ( Just search for something and type "&curren" as the search string.


Tom Arnold
Chief Management Application Services
alea active GmbH


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-13 13:29 UTC]
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: Fri May 27 18:06:15 2022 UTC