From: spam at tkz dot net Operating system: linux & windows xp PHP version: 4.3.3 PHP Bug Type: Output Control Bug description: <Address> forced to lower case
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 bug report at http://bugs.php.net/?id=26354&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26354&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26354&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26354&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26354&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26354&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26354&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26354&r=support Expected behavior: http://bugs.php.net/fix.php?id=26354&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26354&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26354&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26354&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26354&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26354&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26354&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26354&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26354&r=float