Php list of variables. How to display the values of all environment variables in Windows
12 years ago
A little gotcha to watch out for:
If you turn off RegisterGlobals and related, then use get_defined_vars(), you may see something like the following: