ID: 26354 User updated by: spam at tkz dot net Reported By: spam at tkz dot net Status: Open Bug Type: Output Control Operating System: linux & windows xp PHP Version: 4.3.3 New Comment:
accidently switched expected and actual results. Previous Comments: ------------------------------------------------------------------------ [2003-11-21 14:45:23] spam at tkz dot net Description: ------------ <?php echo "<Address >blah</Address >"; echo "<Address>blah</Address>"; echo "<Add" . "ress>blah</Address>"; ?> displays: <address>blah</address><address>blah</address><address>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: --------------- <?php echo "<Address >blah</Address >"; echo "<Address>blah</Address>"; echo "<Add" . "ress>blah</Address>"; ?> Expected result: ---------------- <address>blah</address><address>blah</address><address>blah</address> Actual result: -------------- <Address>blah</Address><Address>blah</Address><Address>blah</Address> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26354&edit=1