Handy PHP Snippet to List Globals With Formatting

This little snippet will dump for you a formatted reference of your globals plus your PHP environment. Really useful especially if you have geolocation variables and other junk getting added to your PHP globals by web server modules.