Agreed. However when you include Wordpress, it'll run off and touch these global variables straight away inside of functions, and then crash (because of the global rant above). The bug occurres in Wordpress code. So you must resolve the issue before you include Wordpress core. Pre-stating them as global does this without needing to edit Wordpress core, and it'll probably survive future updates. This post is from -- http://socoder.net/index.php?topic=2758