|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26354 <Address> forced to lower case
Submitted: 2003-11-21 14:45 UTC Modified: 2003-11-21 16:37 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: spam at tkz dot net Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.3.3 OS: linux & windows xp
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:
Solve the problem:
45 + 1 = ?
Subscribe to this entry?

 [2003-11-21 14:45 UTC] spam at tkz dot net
echo "<Address >blah</Address >";
echo "<Address>blah</Address>";
echo "<Add" . "ress>blah</Address>";


I can't seem to find a way to display Address as an XML tag.  Somehow it is automatically forced to be lower case! This is like a magic number.  If I mispell it then it comes through without modification, so Address is a special case.  I understand that functions are case insensitive, but text shouldn't be case lowercase a magic word.

Reproduce code:
echo "<Address >blah</Address >";
echo "<Address>blah</Address>";
echo "<Add" . "ress>blah</Address>";

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-21 14:46 UTC] spam at tkz dot net
accidently switched expected and actual results.
 [2003-11-21 16:37 UTC]
Browser issue (at least Mozilla does this).
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Mar 27 01:03:39 2023 UTC