The Wordpress developers should have realized this and wrote better code. PHP does some weird things but it should never be the blame for bad code. That's the developers fault. This post is from -- http://socoder.net/index.php?topic=2758