Is this possible without a debugger?
I mean, we have $_POST, $_GET, $_SESSION, etc. I'm looking for something like $_CURRENT_VARS
Is this possible without a debugger?
I mean, we have $_POST, $_GET, $_SESSION, etc. I'm looking for something like $_CURRENT_VARS
$GLOBALS
contains all global variables. Or you use get_defined_vars()
.
well, it's overkill, but you can call phpinfo() to display (essentially) everything.