tags:

views:

127

answers:

2

Is this possible without a debugger?

I mean, we have $_POST, $_GET, $_SESSION, etc. I'm looking for something like $_CURRENT_VARS

+9  A: 

$GLOBALS contains all global variables. Or you use get_defined_vars().

Gumbo
get_defined_vars() is exactly what I was looking for. Thanks.
Milan Babuškov
A: 

well, it's overkill, but you can call phpinfo() to display (essentially) everything.

Jason S